Mr. Haley bought a total of 36 pictures. The pictures are only sold in packages. Each package came with 4 small pictures, 3 medium pictures, and 2 large pictures. ​ How many pictures were in each package