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.

Input: Consider Input: there are 43 dogs 72 fish and 34 cats at my farm . how many pets do i have at my farm ?

Output: 149

Input: Consider Input: brad has 17 balloons . 8 balloons are red and the rest are green . how many green balloons does brad have ?

Output: 9

Input: Consider Input: for gwen 's birthday she received 5 dollars . if she spent 3 dollars . how much money did she still have ?
Output: 2