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.

Ex Input:
George had 30 dollars . For his birthday he got 16 more dollars but spent 38 on a new game . How much money does he have now ?

Ex Output:
8


Ex Input:
Jonathan wants to buy a dictionary that costs $ 11 , a dinosaur book that costs $ 19 , and a children 's cookbook that costs $ 7 . He has saved $ 8 from his allowance . How much more money does Jonathan need to buy all three books ?

Ex Output:
29


Ex Input:
A book store had 41 books in the bargin bin . If they sold 33 books , but then put 2 more in the bin , how many books would be in the bin ?

Ex Output:

10