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.

Input: Consider 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 ?

Output: 5

Input: Consider Input: there were 6 soccer balls in the bag . coach b. found several additional soccer balls and placed them in the bag . there are now 24 balls in the bag . how many soccer balls did he pick up ?

Output: 18

Input: Consider Input: the sum of 2 numbers is 62 1 of the numbers is 27 what is the other number ?
Output: 35