human
Ken had fifty pencils, and he wanted to share some of them with his two friends, Manny and Nilo. Ken gave ten pencils to Manny and ten more pencils to Nilo than he gave to Manny. He kept the rest of the pencils. How many pencils did Ken keep?
assistant
How many pencils did Nilo receive? ** Nilo received 10 + 10 = <<10+10=20>>20.
How many pencils did Ken give? ** Thus, Ken gave a total of 10 + 20 = <<10+20=30>>30.
How many pencils did Ken keep? ** Therefore, Ken kept 50 - 30 = <<50-30=20>>20 pencils.
#### 20