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

### Instruction:
John decides to trade in his stereo system.  His old system cost 250 dollars and he got 80% of the value for it.  He then buys a system that costs $600 that he gets a 25% discount on.  How much money came out of his pocket?

### Response:
 Alipata 250 * 0.8 = $<<250*0.8=200>>200 kwa mfumo wake wa zamani
Anapata punguzo la 600 * 0.25 = $<<600*0.25=150>>150 kwenye mfumo wa pili
Hivyo, gharama yake ilikuwa 600 - 150 = $<<600-150=450>>450
Hivyo, alitoka mfukoni kiasi cha $450 - $200 = $<<450-200=250>>250