Amanda is having a party for her birthday. She wants to fill her goodie bags to give her guests. She has 24 Jolly Ranchers and 64 Starbursts. She wants every goodie bag to have the same amount of both candies in there, and she doesn’t want leftovers. What is the largest number of bags that she can fill?