Ou are filling piñatas for your friend's birthday party. You have 12 kazoos, 18 mints, and 24 lollipops. You want identical groups of gifts in each piñata with no gifts left over. What is the greatest number of piñatas you can fill?