Below is an instruction that describes a task. Write a response that appropriately completes the request in Swahili. Please answer in Swahili.

### Instruction:
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?

### Response:
 Shelly alikuwa na 50 + 20 = <<50+20=70>>70 pipi kabla ya kula baadhi.
Rafiki yake alimpa 70 * 2 = <<70*2=140>>140 pipi.
Jumla, walikuwa na 140 + 50 = <<140+50=190>>190 pipi.
Baada ya kugawanya sawasawa kati yao, kila mmoja alikuwa na 190 / 2 = <<190/2=95>>95 pipi.
Baada ya kula 10 ya pipi zake, rafiki yake ana 95 - 10 = <<95-10=85>>85 pipi.