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? Let's think step by step and output the final answer after "####".
user
Michael gives away 42/2=<<42/2=21>>21 dollars.
His brother then has 21+17=<<21+17=38>>38 dollars.
In the end, his brother has 38-3=<<38-3=35>>35 dollars.
#### 35
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?
train