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: matthew had 27 crackers . if matthew gave equal numbers of crackers to his 9 friends how many crackers did each person eat ?
Example Output: 3

Example Input: there are 336 students in a school . if the school has 7 grades and each grade had the same number of students how many students were in each grade ?
Example Output: 48

Example Input: while playing basketball team a scored 18 points . if each person scored 2 points how many people were playing ?
Example Output:
9