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.

Input: Consider 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 ?

Output: 84


Input: Consider Input: Zoe had 6 songs on her mp3 player . If she deleted 3 old songs from it and then added 20 new songs , how many songs does she have on her mp3 player ?

Output: 23


Input: Consider Input: Janet was playing a video game and had 47 lives . In a hard part of the game she lost 23 lives . If she got 46 more lives in the next level , how many lives would she have ?


Output: 70