Michael gives away 42/2=<<42/2=21>>21 dollars.
Before buying candy, his brother has 35+3=<<35+3=38>>38 dollars.
His brother had 38-21=<<38-21=17>>17 dollars at first.
#### 17