instruction:
You are given a math word problem and you are supposed to apply addition or subtraction mathematical operators on the numbers embedded in the text to answer the following question and then only report the final numerical answer.
question:
Joan grew 8 watermelons and 4 turnips . Tom grew 9 watermelons . How many watermelons did they grow in total ?
answer:
17


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:
A store had 50 oranges in a bin . If they threw away 40 of the old ones and put 24 new ones in the bin how many would be in the bin ?
answer:

34