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? Let's think step by step and output the final answer after "####".
user
Nilo received 10 + 10 = <<10+10=20>>20.
Thus, Ken gave a total of 10 + 20 = <<10+20=30>>30.
Therefore, Ken kept 50 - 30 = <<50-30=20>>20 pencils.
#### 20
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?
train