TASK DEFINITION: Given a math word problem, answer the following question. You might need to apply addition or subtraction mathematical operators on the numbers embedded in the text to answer the question and then only report the final numerical answer.
PROBLEM: daniel had some noodles . he gave 12 noodles to william . now daniel only has 54 noodles . how many noodles did daniel have to begin with ?

SOLUTION: 66

PROBLEM: ryan collected 89 leaves . he lost 24 leaves and threw away 43 leaves . how many leaves did ryan have left ?

SOLUTION: 22

PROBLEM: while shopping maria bought 35 green towels and 21 white towels . if she gave her mother 34 of them how many towels did maria end up with ?

SOLUTION:
22