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

### Instruction:
John buys a box of 40 light bulbs.  He uses 16 of them and then gives half of what is left to a friend.  How many does he have left?

### Response:
 Alikuwa na 40-16=<<40-16=24>>24 baada ya kutumia baadhi yake
Alimpa 24/2=<<24/2=12>>12
Hivyo anabakiwa na 24-12=<<24-12=12>>12