Consider the following matrices A and B.
\[
A = \begin{pmatrix}
1 & 2 & 0 & 0 \\
3 & 4 & 0 & 0 \\
0 & 5 & 5 & 0 \\
0 & 0 & 6 & 7 \\
0 & 0 & 8 & 9
\end{pmatrix}
\quad \text{and} \quad
B = \begin{pmatrix}
10 & 11 & 0 & 0 & 0 \\
12 & 13 & 0 & 0 & 0 \\
0 & 0 & 4 & 0 & 0 \\
0 & 0 & 15 & 16 & 0 \\
0 & 0 & 17 & 18 & 0
\end{pmatrix}
\]
If \( C = AB \), the sum of the diagonal elements of \( C \) is ..............