eolymp
Problems

Sum of squares

Sum of squares

Time limit 1 second
Memory limit 128 MiB

Given positive integer n. Find the sum 1^2 + 2^2 + 3^2 + ... + n^2.

Input data

One positive integer n (1n10^6).

Output data

Print the value of the sum.

Examples

Input example #1
3
Output example #1
14