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

### Instruction:
 John ananunua sahani za chakula na vifaa vya chakula. Vifaa vya chakula vina gharama ya $20. Sahani za chakula zina gharama 50% ya gharama ya vifaa vya chakula. John alilipa kiasi gani kwa kila kitu?


### Response:
 Sahani za chakula zina gharama ya $20 * 0.5 = $<<20*0.5=10>>10
Hivyo alilipa $10 + $20 = $<<10+20=30>>30 kwa kila kitu.