2. In the addition shown, each of the letters $D, O, G, C, A$ and $T$ represents a different digit.
$$
\begin{array}{r}
D O G \\
+C A T \\
\hline 1000
\end{array}
$$

What is the value of $D+O+G+C+A+T$ ?