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

### Instruction:
Pam has some bags of apples. Each of her bags has as many apples as 3 of Gerald's bags. Gerald's bags have 40 apples each. If Pam has 1200 apples in total, how many bags of apples does she have?

### Response:
 Kila mfuko wa Pam una matunda 40*3=<<40*3=120>>120.
Pam ana mifuko 1200/120=<<1200/120=10>>10 ya matunda.