Goran bought n packs of pencils. Each pack has 12 pencils. Write an equation to represent the total number of pencils p that Goran bought.