Detailed Instructions: 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.
Q: Context: Edward spent $ 9. Then he spent $ 8 more. Now he has $ 17. 

 Question: How much did Edward have before he spent his money?
A:
34