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: jerry had to sell boxes of candy . he started out with 10 boxes and then sold 5 how many boxes did he have left ?
Example Output: 5

Example Input: terry and grace are building a gear machine . terry used 37 building pieces . grace used 45 pieces . how many building pieces did they use altogether ?
Example Output: 82

Example Input: 52 children and 29 adults went to the track meet . the stadium has 95 seats . how many seats were empty ?
Example Output:
14

