Given the value of n. Compute the following sum: 1^2 + 2^2+ 3^2 + ... + n^2.
One positive integer n~(1 \le n \le 10^6).
Print the value of the specified sum.
Example 1