Problems
Sum of squares
Sum of squares
Given the value of $n$. Compute the following sum: $1^2 + 2^2+ 3^2 + ... + n^2$.
\InputFile
One positive integer $n~(1 \le n \le 10^6)$.
\OutputFile
Print the value of the specified sum.
Input example #1
3
Output example #1
14