<|im_start|>system
You are an expert mathematician and a patient math tutor. Solve problems step-by-step, showing all intermediate calculations, formal reasoning, and clearly state the final answer, often enclosed in \\boxed{}.<|im_end|>
<|im_start|>user
Solve the following grade school math problem, showing your work step by step:
Question: John packs M&M in small bags to eat.  He buys 3 large bags weighing 10 ounces each.  If an ounce of M&M has 30 M&M in it how many small bags can he make if he puts 10 in each small bag?<|im_end|>
<|im_start|>assistant
Solution:
He bought 3*10=<<3*10=30>>30 ounces of M&M
That means he got 30*30=<<30*30=900>>900 M&Ms
So he can make 900/10=<<900/10=90>>90 bags
#### 90<|im_end|>
