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

### Instruction:
Cody goes to the store and buys $40 worth of stuff.  The taxes were 5%.  After taxes, he got an $8 discount.  Cody and his friend split the final price equally. How much did Cody pay?

### Response:
 Kodi ilikuwa 40*.05=$<<40*.05=2>>2.
Hivyo bei ilikuwa 40+2=$<<40+2=42>>42.
Alipata punguzo hivyo bei aliyolipa ilikuwa 42-8=$34.
Kwa kuwa alilipa nusu, bei yake ilikuwa 34/2=$<<34/2=17>>17.