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.

Ex Input:
Ned had to wash 9 short sleeve shirts and 21 long sleeve shirts before school . If he had only washed 29 of them by the time school started , how many did he not wash ?

Ex Output:
1


Ex Input:
Mary had 18 baseball cards , and 8 were torn . Fred gave Mary 26 new baseball cards . Mary bought 40 baseball cards . How many baseball cards does Mary have now ?

Ex Output:
84


Ex Input:
Andrew starts with 8 eggs . He buys 62 more . How many eggs does Andrew end with ?

Ex Output:

70