Let $A=\left[\begin{array}{cc}\frac{1}{\sqrt{2}} & -2 0 & 1\end{array}\right]$ and $\mathrm{P}=\left[\begin{array}{cc}\cos \theta & -\sin \theta \sin \theta & \cos \theta\end{array}\right], \theta>0$. If $\mathrm{B}=\mathrm{PAP}^{\mathrm{T}}, \mathrm{C}=\mathrm{P}^{\mathrm{T}} \mathrm{B}^{10} \mathrm{P}$ and the sum of the diagonal elements of $C$ is $\frac{m}{n}$, where $\operatorname{gcd}(m, n)=1$, then $m+n$ is :