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.

Example Input: In fourth grade there were 40 students at the start of the year . During the year 14 students left and 26 new students came to school . How many students were in fourth grade at the end ?
Example Output: 52

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

Example Input: For a birthday party Jerry bought 41 regular sodas and 22 diet sodas . If his fridge would only hold 9 on each shelf , how many shelves would he fill up ?
Example Output:
7