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.

Input: Consider Input: A ship full of grain crashes into a coral reef . By the time the ship is fixed , 49952 tons of grain have spilled into the water . Only 918 tons of grain remain onboard . How many tons of grain did the ship originally contain ?

Output: 50870


Input: Consider Input: Rachel bought 7 new chairs and 3 new tables for her house . If she spent 4 minutes on each piece furniture putting it together , how many minutes did it take her to finish ?

Output: 40


Input: Consider Input: While shopping for music online , Nancy bought 3 country albums and 5 pop albums . Each album came with a lyric sheet and had 8 songs . How many songs did Nancy buy total ?


Output: 64