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:
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:
Mark has 13 trees in his backyard . If he plants 12 more , how many trees will he have ?

Ex Output:
25


Ex Input:
Melanie grew 139 turnips . Benny grew 113 turnips . How many turnips did they grow in all ?

Ex Output:

252