You are given a math word problem and you are supposed to apply addition or subtraction mathematical operators on the numbers embedded in the text to answer the following question and then only report the final numerical answer.

At the fair there were 9 people in line for the bumper cars . If 6 of them got tired of waiting and left and 3 more got in line , how many people would be in line ?
6