Given a math word problem, answer the following question. You might need to apply addition or subtraction mathematical operators on the numbers embedded in the text to answer the question and then only report the final numerical answer.

Example Input: jerry owned 7 video games . for his birthday he got 2 more . how many games did jerry have total ?
Example Output: 9

Example Input: the friends then proceeded to the rest of the houses in their village . however sam had to go home earlier . she got her share of candies which are composed of 10 chewing gums 15 chocolate bars and 20 assorted fruit candies . how many candies did she get in total ?
Example Output: 45

Example Input: kendra learns 12 new spelling words each week . her goal is to learn 60 new words before her 8 birthday . she has already learned 36 new words . how many more words does kendra need to learn ?
Example Output:
24