Deana bought 12 packages of batteries. Some of the packages contained 4 batteries and come contained 6 batteries. She bought a total of 62 batteries. How many packages did Deana buy that contained 6 batteries? A: 7 B: 5 C: 3 D: 6