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:
Frank made 5 dollars mowing lawns and 58 dollars weed eating . If he only spent 7 dollar a week , how long would the money last him ?

Ex Output:
9


Ex Input:
There are 65 students trying out for the school 's trivia teams . If 17 of them did n't get picked for the team and the rest were put into 8 groups , how many students would be in each group ?

Ex Output:
6


Ex Input:
There are 43 pencils in the drawer and 19 pencils on the desk . Dan placed 16 more pencils on the desk . How many pencils are now there in total ?

Ex Output:

78