You fill bags with cookies to give your friends. You bake 45 chocolate chip cookies, 30 peanut butter cookies, and 15 oatmeal cookies. You want identical groups of cookies in each bag with no cookies left over. What is the greatest number of bags you can make?

The way I see it is the oatmeal cookies is the limiting factor; therefore you can make 15 bags with each consisting of 3 chocolate, 2 PB and 1 oatmeal in each. That way you will use

3 choc x 15 bags = 45
2 pb x 15 bags = 30
1 oatmeal x 15 bags = 15
Voila. No cookies left over.