Diego has 48 chocolate chip cookies and 100 raisin cookies. He wants to make bags that will have the same number of each flavor per bag. What is the greatest number of bags he can make without having any cookies left over?