# Problem Determine all functions $Q$ from the real numbers to itself such that $Q(0)\neq0$ and $$\frac{1}{2}Q(m+n)^{2}-Q(m)Q(n)=\max\left\{ Q\left(m^{2}+n^{2}\right)\right, Q\left(m^{2}\right)+Q\left(n^{2}\right)\}$$ for all real numbers $m$ and $n$. Write your final answer as a short answer in the same mathematical or textual notation as the expected answer in `/app/answer.txt`. Do not include a derivation. For this task the verifier compares normalized notation literally; equivalent reformulations may be rejected.