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.

Input: Consider Input: Tom had 5 books . If he sold 4 of them and used the money he earned to buy 38 new books , how many books would Tom have ?

Output: 39


Input: Consider Input: A dust storm sweeps across the prairie . It covers 64535 acres of the prairie in dust , but leaves 522 acres untouched . How many acres does the prairie cover ?

Output: 65057


Input: Consider Input: Jerry made 14 dollars mowing lawns and 31 dollars weed eating . If he only spent 5 dollar a week , how long would the money last him ?


Output: 9