Given the following reasoning and answer, what was the question? Each of Pam's bags contain 40 * 3 = 120 apples. Pam has 120 * 10 = 1200 apples.
 The answer: 1200
The question 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?