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

### Instruction:
 James anahitaji kununua miwani mpya. Fremu zake gharama ni $200 na lensi gharama ni $500. Bima itagharamia 80% ya gharama ya lensi na ana kodi ya $50 kwa fremu. Gharama ya kila kitu ni kiasi gani?


### Response:
 Anapata 500*.8=$<<500*.8=400>>400 punguzo kwenye gharama ya lensi
Hivyo lensi gharama ni 500-400=$<<500-400=100>>100
Fremu gharama ni 200-50=$<<200-50=150>>150
Hivyo anatoa 100+150=$<<100+150=250>>250