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

### Instruction:
Michael has $42. His brother has $17. Michael gives away half the money to his brother. His brother then buys 3 dollars worth of candy. How much money, in dollars, did his brother have in the end?

### Response:
 Michael anampa 42/2=<<42/2=21>>21 dola.
Michael ana 42-21=<<42-21=21>>21 dola zilizobaki.
Kabla ya kununua pipi, ndugu yake ana 17+21=<<17+21=38>>38 dola.
Mwishoni, ndugu yake ana 38-3=<<38-3=35>>35 dola.