eolymp
Problems

Sum of cubes

Sum of cubes

Given positive integer n. Find the sum 13 + 23+ 33 + ... + n3.

Input

One positive integer n (1n10000).

Output

Print the value of the sum.

Time limit 1 second
Memory limit 128 MiB
Input example #1
2
Output example #1
9
Author Michael Medvedev