Pam has some bags of apples. Each of her bags has as many apples as 3 of Gerald's bags. Gerald's bags have 40 apples each. If Pam has 1200 apples in total, how many bags of apples does she have?
Each of Pam's bags contain 40*3=
<gadget id="calculator">40*3</gadget>
<output>120</output>
120 apples.
Pam has 1200/120=
<gadget id="calculator">1200/120</gadget>
<output>10</output>
10 bags of apples.

<result>10</result>