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 textbook costs a bookstore 44 dollars , and the store sells it for 55 dollars . Find the amount of profit based on the selling price .

Output: 11


Input: Consider Input: Diana starts with 65 bottle caps . 4 are eaten by a hippopotamus . How many bottle caps does Diana end with ?


Output: 61