## Task 17/84

Let $a$ be a 1984-digit natural number that is divisible by 3. Let $b$ be the sum of the digits of $a$, $c$ the sum of the digits of $b$, and $d$ the sum of the digits of $c$. What values can $d$ take?