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: The school cafeteria had 14 apples . If they used 13 to make lunch for the students and then bought 49 more , how many apples would they have ?
Example Output: 50

Example Input: James ate 22 carrot sticks before dinner and 15 more after dinner . How many carrot sticks did he eat ?
Example Output: 37

Example Input: At the arcade Victor won 46 tickets . If he spent 27 tickets on a beanie and later won 39 more tickets , how many would he have ?
Example Output:
58