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 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: sarah picked 45 apples . her brother picked 9 apples . how many times as many apples did sarah pick ?
Example Output: 5

Example Input: there are 40 students in the school band . if the band instructor put the students into rows with 5 students in each row how many rows could he make ?
Example Output:
8