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.

tony had $ 20 . he paid $ 8 for a ticket to a baseball game . at the game he bought a hot dog for $ 3 . what amount of money did tony have then ?
9