$M_2(\mathbb{R})$ is the set of all $2\times2$ matrices that their entries are in $\mathbb{R}$. Now consider $A,B\in M_2(\mathbb{R})$. We have $$A^2+B^2= \begin{bmatrix}1402&&2022\\ 2022 && 1402\\ \end{bmatrix} $$
Show that $AB\neq BA$.
I tried writing $(A+B)^2=A^2+AB+BA+B^2$ and we know if we assume $AB=BA$, then $(A+B)^2=A^2+2AB+B^2$. Then I tried to find the form of a squared matrix and compare these to reach a contradiction but I couldn't. I even don't know if it helps or not. Any help is appreciated!
Hints.