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

### Instruction:
Sid takes $48 with him on a shopping trip to the mall.  He spent some of his money on computer accessories and another $8 on snacks. After these purchases, he only has $4 more than half of his original money left. How much did he spend on computer accessories?

### Response:
 Nusu ya pesa ya awali ya Sid ni $48/2 = $<<48/2=24>>24.
Sid ana pesa $24 + $4 = $<<24+4=28>>28 tu iliyobaki baada ya manunuzi yake.
Alikuwa na $28 + $8 = $<<28+8=36>>36 kabla ya kutumia $8 kwenye vitafunio.
Hivyo, Sid alitumia $48 - $36 = $<<48-36=12>>12 kwenye vifaa vya kompyuta.