<s>[INST] This problem is not related to probabilities, but it is still a great puzzle. $a$, $b$, and $c$ are positive real numbers such that $ab+ac+bc=6$ and $a+b+c=5$. Find the maximum value of $a^2+b^2+c^2$.[/INST]