Credit 2 Every1, especially @florenciramir for the base of b, and @Numberblock_Pau for the base of p.