Let p represent the number of colored pencils in a box. If there are 26 boxes on the shelf, write an algebraic expression to represent the total number of pencils on the shelf.