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

### Instruction:
 Michael ana $42. Michael anampa nusu ya pesa kwa ndugu yake. Ndugu yake kisha ananunua pipi zenye thamani ya dola 3. Ikiwa ndugu yake ana $35 zilizobaki, ndugu yake alikuwa na pesa kiasi gani, kwa dola, mwanzoni?


### 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.