you have to find the common multiple between 100 and 150
multiples of 8: 8,16,24,32,40,48,56,64,72,80,88,96,104,112,120 ,128 , 136, 144
multiples of 12: 12,24,36,48,60,72,84,96,108, 120, 132, 144
The GCL (Greatest common multiple) is 144 that is lower than 150 hotdogs, so it is 144.
12 packs of weiners, 18 packs of buns.