human
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?
assistant
How many candies did Shelly have before eating some? ** The total number of candies Shelley had before eating some is 50 + 20 = <<50+20=70>>70 candies.
How many candies did her friend bring? ** When her friend came over, she brought 2*70 = <<2*70=140>>140 candies.
How many candies are in the bowl? ** The total number of candies in the bowl is now 140+50= <<140+50=190>>190 candies.
How many candies does each get? ** When they divide this equally between them, each gets 190/2 = <<190/2=95>>95 candies.
How many candies does her friend have after eating 10 of her candies? ** When Shelly’s friend eats 10 of her candies, she still has 95-10 = <<95-10=85>>85 candies.
#### 85