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

Pam has 120*10=<<120*10=1200>>1200 apples.

# Answer

1200
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Pam has 10 bags of apples. Each of her bags has as many apples as 3 of Gerald's bags. If Gerald's bags have 40 apples each, how many apples does Pam have?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
1200
Pam has 10 bags of apples. Each of her bags has as many apples as 3 of Gerald's bags. If Gerald's bags have 40 apples each, how many apples does Pam have?
train