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: A pet shelter had 2 puppies when another 34 were brought in . If 4 puppies a day are adopted , how long would it take for all of them to be adopted ?
Example Output: 9

Example Input: Gwen was organizing her book case making sure each of the shelves had exactly 4 books on it . If she had 5 shelves of mystery books and 3 shelves of picture books , how many books did she have total ?
Example Output: 32

Example Input: In a video game , each enemy defeated gives you 8 points . If a level has 7 enemies total and you destroy all but 2 of them , how many points would you earn ?
Example Output:
40