instruction:
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.
question:
For a birthday party Jerry bought 41 regular sodas and 22 diet sodas . If his fridge would only hold 9 on each shelf , how many shelves would he fill up ?
answer:
7


question:
The school cafeteria had 17 apples . If they used 2 to make lunch for the students and then bought 23 more , how many apples would they have ?
answer:
38


question:
George had 30 dollars . For his birthday he got 16 more dollars but spent 38 on a new game . How much money does he have now ?
answer:

8