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