There were 50 candies left in a bowl after Shelly ate 20 candies the previous week. Her friend comes over, bringing twice as much candy as she originally had. Shelly adds this to the bowl and they decide to divide them equally. How much candy did her friend have after eating 10 of her candies? Let's think step by step and output the final answer after "####".
user
The total number of candies Shelley had before eating some is 50 + 20 = <<50+20=70>>70 candies.
When her friend came over, she brought 2*70 = <<2*70=140>>140 candies.
The total number of candies in the bowl is now 140+50= <<140+50=190>>190 candies.
When they divide this equally between them, each gets 190/2 = <<190/2=95>>95 candies.
When Shelly’s friend eats 10 of her candies, she still has 95-10 = <<95-10=85>>85 candies.
#### 85
There were 50 candies left in a bowl after Shelly ate 20 candies the previous week. Her friend comes over, bringing twice as much candy as she originally had. Shelly adds this to the bowl and they decide to divide them equally. How much candy did her friend have after eating 10 of her candies?
train