TASK DEFINITION: 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.
PROBLEM: Frank had saved up 3 dollars . If he received another 37 dollars for his allowance , how many 8 dollar toys could he buy ?

SOLUTION: 5

PROBLEM: Mrs. Sheridan has 11 cats . How many more cats does Mrs. Sheridan need to have 43 cats ?

SOLUTION: 32

PROBLEM: 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 ?

SOLUTION:
50870