This year, John played in 10 baseball games. In these games he had hit the ball 2,3,1,1,3,2,4,6,2, and x times. The mean is 3 hits per game. Find the missing value