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. Michael gives away half the money to his brother. His brother then buys 3 dollars worth of candy. If his brother has $35 left, how much money, in dollars, did his brother have at first?

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