human
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?
assistant
How many apples are in each of Pam's bags? ** Each of Pam's bags contain 40*3=<<40*3=120>>120 apples.
How many apples does Pam have? ** Pam has 120*10=<<120*10=1200>>1200 apples.
#### 1200