9. (10 points) In $\overline{\mathrm{ABCD}}+\overline{\mathrm{EFG}}=2010$, different letters represent different digits, then $A+B+C+D+E+F+G$
$=$

Translate the above text into English, please retain the original text's line breaks and format, and output the translation result directly.
9. (10 points) In $\overline{\mathrm{ABCD}}+\overline{\mathrm{EFG}}=2010$, different letters represent different digits, then $A+B+C+D+E+F+G=$ $\underline{30}$.
【Solution】Solution: Since $A, B, C, D, E, F, G$ are different digits, from the equation $\overline{\mathrm{ABCD}}+\overline{\mathrm{EFG}}=2010$, we can derive:
$$
D+G=10, C+F=10, B+E=9, A=1,
$$

Therefore: $A+B+C+D+E+F+G$
$$
\begin{array}{l}
=A+(B+E)+(C+F)+(D+G) \\
=1+9+10+10 \\
=30
\end{array}
$$

So the answer is: 30.