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: ben on the other hand was asked to count the number of cows that they have . he saw that there are a total of 40 cows for every cow herd . how many cows do they have in total if there are 8 cow herds in the farm ?
Example Output: 320

Example Input: shiela has started writing a list of gifts that she plans to give to her family and friends this christmas . for her classmates she made colorful paper stars which will be placed in small clear bottles . she was able to prepare 45 paper stars . how many stars will be placed in each bottle if shiela has 9 classmates ?
Example Output: 5

Example Input: a pet store had 4 snakes . they had the snakes in cages with 2 snakes in each cage . how many cages did the pet store have ?
Example Output:
2