A class is making bags of candy for the school. They have 96 red candies, 72 blue candies, and 48 yellow candies What is the greatest number of bags they can make if each bag has the same contents?