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: Nancy has saved 1 dozen quarters from washing cars . How much money does Nancy have ?
Example Output: 3

Example Input: Janet was playing a video game and had 47 lives . In a hard part of the game she lost 23 lives . If she got 46 more lives in the next level , how many lives would she have ?
Example Output: 70

Example Input: A chef needs to cook 16 potatoes . He has already cooked 7 . If each potato takes 5 minutes to cook , how long will it take him to cook the rest ?
Example Output:
45