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.

cody had 9 old video games he wanted to get rid of . if he gave his friend 4 of the games how many does he still have ?
5