Problem 574 (difficulty: 6/10)
Prove that if \(\displaystyle f\) is weakly convex then
\(\displaystyle f\left(\frac{x_1+\ldots+x_n}n\right)\le\frac{f(x_1)+\ldots+f(x_n)}n. \)