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: Arthur removes 4 pencils from a jar . There were originally 87 pencils in the jar . How many pencils are left in the jar ?
Example Output: 83

Example Input: For the school bake sale Carol made 30 cupcakes . If she sold 9 of them and then made 28 more , how many cupcakes would she have ?
Example Output: 49

Example Input: Joan picked 37 oranges and Sara picked 10 oranges . Alyssa picked 30 pears . How many oranges were picked in total ?
Example Output:
47