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 group of 8 friends were dressing as pirates for halloween . if each costume cost 5 dollars how much did they spend ?
Example Output: 40

Example Input: a store had 3 packs of paper for $ 3.87 . how much would it cost if you were to buy 6 packs ?
Example Output: 7.74

Example Input: keith has 5530 marbles and 3 pencils . if he shares the marbles among 79 friends how many marbles does each friend get ?
Example Output:
70