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.

Example Input: greg and brad started reading their books at the same time . greg read 18 pages a day . brad read 26 pages a day . how many more pages did brad read than greg ?
Example Output: 8

Example Input: 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 ?
Example Output: 19

Example Input: a chef had 46 apples . after making some pies he had 14 left . how many apples did he use ?
Example Output:
32