Mean is the solution for minimizing the sum of squares.