17. Initially, there were some gold coins and empty boxes to hold the coins. If each box is filled with 9 coins, there will be two empty boxes left; if each box is filled with 6 coins, there will be 3 coins left. Therefore, there are ( ) gold coins.
(A) 9
(B) 27
(C) 45
(D) 63
(E) 81