Given a math word problem, answer the following question. You might need to apply addition or subtraction mathematical operators on the numbers embedded in the text to answer the question and then only report the final numerical answer.
--------
Question: there were 10 people on the bus . at the next stop 3 more people got on the bus . how many people are there on the bus now ?

Answer: 13

Question: tom already had 2 pieces of candy . his friend gave him 7 more and then tom bought another 10 how many pieces does tom have now ?

Answer: 19

Question: nancy picked 12 carrots from her garden . if she threw out 2 of them and then picked 21 more the next day how many carrots would she have total ?

Answer:
31