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

### Instruction:
To make a shed in his backyard, Tom needs 1000 bricks. He can buy half of the bricks for 50% off of $.50. The other Half he needs to pay full price. How many dollars does Tom spend?

### Response:
 Tom ananunua matofali 500 kwa $.50 kila moja kwa jumla ya $<<500*0.5=250>>250.
Tom ananunua matofali 500 kwa $.50 kila moja kwa jumla ya $<<500*0.5=250>>250.
Gharama jumla ni $250 + $250 = $<<250+250=500>>500.