You are given a math word problem and you are supposed to apply an addition mathematical operator on the numbers embedded in the text to answer the following question and then only report the final numerical answer.

Example Input: Context: Edward spent $ 6 to buy books and $ 16 to buy pens. Now he has $ 19. 

 Question: How much did Edward have before he spent his money?
Example Output: 41

Example Input: Context: 5 red peaches, 14 yellow peaches and 6 green peaches are in the basket. 

 Question: How many green and yellow peaches are in the basket?
Example Output: 20

Example Input: Context: In a school there are 700 girls and the rest are boys. If there are 142 more boys than girls 

 Question: How many pupils are there in that school?
Example Output:
1542