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: Pamela bought 9.8 ounces of sugar , and she spilled 5.2 ounces of it on the floor . How much is ?
Example Output: 4.6

Example Input: In fourth grade there were 35 students at the start of the year . During the year 10 students left and 10 new students came to school . How many students were in fourth grade at the end ?
Example Output: 35

Example Input: Joan has 10 books . Tom has 38 books . How many books do they have together ?
Example Output:
48