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.

Example Input: Gwen had 18 math problems and 11 science problems for homework . If she finished 24 of the problems at school , how many problems did she have to do for homework ?
Example Output: 5

Example Input: Bianca and her mom were picking carrots from their garden . Bianca picked 26 and her mother picked 15 . If only 16 of the carrots were good , how many bad carrots did they have ?
Example Output: 25

Example Input: Joyce has 8 eggs . Marie gives Joyce 6 more . Later , Joyce buys 13 erasers at the store . How many eggs does Joyce have in all ?
Example Output:
14