Miriam is buying plates and cups for a party. She wants the same number of each. Plates are sold in packs of 8. Cups are sold in packs of 12. What is the least number of plates and cups that Miriam can buy? John says that this means that Miriam needs to buy 24 packs of plates and 24 packs of cups. Is John correct? Explain your answer.​