You are given a math word problem and you are supposed to apply multiple mathematical operators like addition, subtraction, multiplication or division on the numbers embedded in the text to answer the following question and then only report the final numerical answer.

Ex Input:
Ned was trying to expand his game collection . He bought 50 games from a friend and bought 27 more at a garage sale . If 74 of the games did n't work , how many good games did he end up with ?

Ex Output:
3


Ex Input:
Maria picked 48 carrots from her garden . If she threw out 11 of them and then picked 15 more the next day , how many carrots would she have total ?

Ex Output:
52


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

Ex Output:

8