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

### Instruction:
 John Smith ananunua keki 3 kwa $12 kila moja na anagawanya gharama na ndugu yake. Anapata kiasi gani?


### Response:
 Keki zinagharimu 3*12=$<<3*12=36>>36
Hivyo amelipa 36/2=$<<36/2=18>>18