The number of defects in the first five cars to come through a new production line are 9, 7, 10, 4, and 6, respectively. If the sixth car through the production line has either 3, 7, or 12 defects, for which of these values does the mean number of defects per car for the first six cars equal the median?
A.3
B.7
C.12