Mr. Mancelli teaches fifth-grade math. He is making prize bags for the winners of a math game. If he has 8 candy bars and 12 packages of gum, what is the largest number of identical prize bags he can make without having any leftover candy bars or packages of gum?
a. 2
b. 4
c. 6
d. 8