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: edward earned 8 dollars for every lawn he mowed . if he mowed 5 lawns and he already had 7 dollars saved up how much money does he have total ?
Example Output: 47

Example Input: jerry 's freezer had 30 ice cubes in it . if he had to get ice for 6 cups how many pieces should he put in each cup to make them have the same amount ?
Example Output: 5

Example Input: haley 's favorite band was holding a concert where tickets were 4 dollars each . haley bought 3 tickets for herself and her friends and 5 extra tickets in case anyone else wanted to go . how much did she spend ?
Example Output:
32