Given a math word problem, answer the following question. You might need to apply addition or subtraction mathematical operators on the numbers embedded in the text to answer the question and then only report the final numerical answer.

Ex Input:
todd had 85 cents in his pocket . he bought a candy bar for 14 cents . he bought a box of cookies for 39 cents . how much money did todd spend altogether ?

Ex Output:
53

Ex Input:
there are 98 cats in the little town . if 92 of them are a asleep how many cats are still awake ?

Ex Output:
6

Ex Input:
josh had 142 pencils . he gave 31 pencils to dorothy . how many pencils does josh have left ?

Ex Output:
111