8. In $\triangle A B C$, it is known that $A B=17, A C=10, D$ is a point on $B C$, $A D=12$, and both $B D$ and $D C$ are integers. Then the number of all possible values of $B C$ is ( ).
(A) 21
(B) 4
(C) 2
(D) 0