human
Fran baked 50 red macaroons and 40 green macarons. How many macaroons will remain if Fran ate 15 green macaroons and twice as many red macaroons as green macaroons?
assistant
How many green macaroons did Fran eat? ** After eating 15 green macaroons, the number is reduced to 40 green macaroons - 15 green macaroons = 25 green macaroons
How many red macaroons did Fran eat? ** If Fran ate 15 green macaroons, he also ate 2 red/green * 15 green macaroons = <<15*2=30>>30 red macaroons.
How many red macaroons will remain? ** The total number of red macaroons remaining is 50 red macaroons - 30 red macaroons = <<50-30=20>>20 red macaroons
How many macaroons will remain? ** The total number of macaroons Fran has left are 20 macaroons + 25 macaroons = <<20+25=45>>45 macaroons
#### 45