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

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

Output: 9


Input: Consider Input: Olivia was playing a video game where she scores 8 points for each treasure she finds . If she found 2 treasures on the first level and 2 on the second , what would her score be ?

Output: 32


Input: Consider Input: A worksheet had 3 problems on it . If a teacher had 15 worksheets to grade and had already graded 7 of them , how many more problems does she have to grade ?


Output: 24