Hide

Problem D
The Cube

Write a program which computes the cube of a number.

Input

One line containing the integer $n$, where $-1\, 000 \leq n \leq 1\, 000$.

Output

One line containing the integer $n^3$.

Sample Input 1 Sample Output 1
-1
-1
Sample Input 2 Sample Output 2
-5
-125
Sample Input 3 Sample Output 3
0
0
Sample Input 4 Sample Output 4
1
1
Sample Input 5 Sample Output 5
2
8
Sample Input 6 Sample Output 6
8
512

Please log in to submit a solution to this problem

Log in