Each of Pam's bags contain 40*3=<<40*3=120>>120 apples.

Pam has 1200/120=<<1200/120=10>>10 bags of apples.

# Answer

10
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
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?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
10
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?
train