Sum of Cubes#175

Sum of Cubes

1 second
128 megabytes
Very easy (≈850)

Given a natural number , calculate the following sum:

1^3 + 2^3+ 3^3 + ... + n^3

Input

A natural number (1 \le n \le 10000).

Output

Output the sum.

Examples

Example 1

Loading
Loading