prompt: 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?
messages.content: 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?
messages.role: user
messages.content: 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
messages.role: assistant