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: rachel bought 7 new chairs and 3 new tables for her house . if she spent 4 minutes on each piece furniture putting it together how many minutes did it take her to finish ?
Example Output: 40

Example Input: paige was helping her mom plant flowers and together they planted 54 seeds . if they put 6 seeds in each flower bed how many flower beds did they have ?
Example Output: 9

Example Input: mrs. hilt has 50 cents . a pencil costs 5 cents . how many pencils can she buy with the money she has ?
Example Output:
10