Find the sum of the trace of A=(1002)A = \begin{pmatrix} 1 & 0 \\ 0 & 2 \end{pmatrix}A=(1002) and the trace of B=(3004)B = \begin{pmatrix} 3 & 0 \\ 0 & 4 \end{pmatrix}B=(3004).
101010
333
777
121212