Dewayne is throwing a birthday party for his friend. He wants to serve each guest one cupcake and one can of soda. At the store, soda is sold 6 to a pack, and cupcakes are sold 4 to a pack. What is the fewest number of cupcakes and sodas Dewayne must buy so that he has the same number of each?