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

### Instruction:
Ben has 8 apples more than Phillip does. Tom has three eighths as many apples at Ben has. If Phillip has 40 apples, how many apples does Tom have?

### Response:
 Ben ana matofaa 40 + 8 = <<40+8=48>>48.
Tom ana matofaa 48 * 3 / 8 = <<48*3/8=18>>18.