You will be given a definition of a task first, then some input of the task.
You are given a math word problem and you are supposed to only use subtraction on the numbers embedded in the text to answer the following question and then only report the final numerical answer.

Context: Ed had 29 more marbles than Doug. Ed lost 17 of his marbles at the playground. 

 Question: How many more marbles did Ed have than Doug then?
Output:
12