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: Our class got 54 books from the library . Then we got 23 more books from the library . How many books did our class get from the library ?
Example Output: 77

Example Input: Chloe was playing a trivia game . In the first round she scored 40 points and in the second round she scored 50 points . In the last round she lost 4 points . How many points did she have at the end of the game ?
Example Output: 86

Example Input: For homework Amy had 18 math problems and 6 spelling problems . If she can finish 4 problems in an hour how long will it take her to finish all the problems ?
Example Output:
6