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: Rachel picked 6 ripe apples from her tree. Now the tree has 2 ripe apples and 4 unripe apples. 

 Question: How many apples did the tree have to begin with?
Example Output: 12

Example Input: Context: For the walls of the house he would use 12 large planks of wood and 17 small planks. If each large plank of wood needs 14 pieces of nails to be secured and each small plank needs 25 nails. 

 Question: How many planks does John need for the house wall?
Example Output: 29

Example Input: Context: Rachel picked 7 apples from her tree. Thereafter 2 new apples grew on the tree. Now the tree has 6 apples still on it. 

 Question: How many apples did the tree have to begin with?
Example Output:
11