5. A class has $k(k>12)$ students, and the average score in a test is 8 points, among which the average score of 12 students is 14 points. Then the average score of the remaining students is ( ).
(A) $\frac{14-8}{k-12}$
(B) $\frac{8 k-168}{k-12}$
(C) $\frac{14}{12}-\frac{8}{k}$
(D) $\frac{14(k-12)}{k^{2}}$
(E) $\frac{14(k-12)}{8 k}$
5. B.
$$
\frac{8 k-12 \times 14}{k-12}=\frac{8 k-168}{k-12} .
$$