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.

Ex Input:
7 red apples and 2 green apples are in the basket . how many apples are in the basket ?

Ex Output:
9

Ex Input:
debby had 12 pounds of flour . if she bought another 4 pounds how many pounds would she have total ?

Ex Output:
16

Ex Input:
she also decided to contribute to the collection of the museum of natural history . after donating some of her bug collection she was left with 39 bug species . if she originally has 98 bug species how many did she donate ?

Ex Output:
59