Below is an instruction that describes a task. Write a response that appropriately completes the request in Thai. Please answer in Thai.

### Instruction:
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?

### Response:
 แต่ละถุงของแพมมีแอปเปิ้ล 40*3=<<40*3=120>>120 ลูก
แพมมีแอปเปิ้ลทั้งหมด 120*10=<<120*10=1200>>1200 ลูก