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:
henry had $ 54 . later he sold some of his old toys and got another $ 2 . how much money does he have total ?

Ex Output:
56

Ex Input:
a restaurant has 94 pieces of cutlery . 38 are forks 27 are knives and the rest are spoons . how many spoons are there ?

Ex Output:
29

Ex Input:
sammy has 9 math problems to do for homework . he has already finished 2 of them . how many math problems does sammy have left ?

Ex Output:
7