You are given a math word problem and you are supposed to apply addition or subtraction mathematical operators on the numbers embedded in the text to answer the following question and then only report the final numerical answer.

Example Input: Tom has 30 violet balloons , he gave Fred 16 of the balloons . How many violet balloons does he now have ?
Example Output: 14

Example Input: A teacher had 34 worksheets to grade . If she graded 7 , but then another 36 were turned in , how many worksheets would she have to grade ?
Example Output: 63

Example Input: Tony had $ 20 . Tony paid $ 8 for a ticket to a baseball game . At the game , Tony bought a hot dog for $ 3 . What amount of money did Tony have then ?
Example Output:
9