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.

Input: Consider Input: Will invited 9 friends to a birthday party , but 4 could n't come . If he wanted to buy enough cupcakes so each person could have exactly 8 , how many should he buy ?

Output: 40


Input: Consider Input: Will had 57 dollars . If he spent 27 bucks on a new game , how many 6 dollar toys could he buy with the money he had left ?

Output: 5


Input: Consider Input: A pet shelter had 8 puppies when another 19 were brought in . If 3 puppies a day are adopted , how long would it take for all of them to be adopted ?


Output: 9