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:
At lunch a waiter had 7 customers and 5 of them did n't leave a tip . If he got $ 3 each from the ones who did tip , how much money did he earn ?

Ex Output:
6


Ex Input:
Roger had 45 dollars in January . By March he had spent 20 dollars . If he got another 46 dollars from his mom , how much money would he have ?

Ex Output:
71


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