17. The perimeter of an equilateral triangle is $1989 \mathrm{~cm}$ longer than the perimeter of a square. The side length of the triangle is $d \mathrm{~cm}$ longer than the side length of the square, and the perimeter of the square is greater than 0. The number of positive integer values that $d$ cannot take is $\qquad$
(A) 0,
(B) 9,
(C) 221,
(D) 663,
(E) infinitely many.
$D$