Diego has 48 chocolate chip cookies, 64 vanilla cookies, and 100 raisin cookies for a bake sale. He wants to make the greatest number of bags that have all three cookie flavors and the same number of each flavor per bag. How many bags can he make without having any cookies left over? How many vanilla cookies will be in each bag?