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 had saved up 3 dollars . If he received another 37 dollars for his allowance , how many 8 dollar toys could he buy ?

Ex Output:
5


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

Ex Output:
9


Ex Input:
Faye had 46 math problems and 9 science problems for homework . If she finished 40 of the problems at school , how many problems did she have to do for homework ?

Ex Output:

15