import java.io.*;

class Main{
public static void main(String args[]) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        int input = Integer.parseInt( reader.readLine() );
        System.out.println((int) Math.pow(input, 3));
    }
 
} import java.io.*; io.* java class Main{
public static void main(String args[]) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        int input = Integer.parseInt( reader.readLine() );
        System.out.println((int) Math.pow(input, 3));
    }
 
} Main public static void main(String args[]) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        int input = Integer.parseInt( reader.readLine() );
        System.out.println((int) Math.pow(input, 3));
    } main {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        int input = Integer.parseInt( reader.readLine() );
        System.out.println((int) Math.pow(input, 3));
    } BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) int input = Integer.parseInt( reader.readLine() ); input Integer.parseInt( reader.readLine() ) Integer.parseInt Integer reader.readLine() reader.readLine reader System.out.println((int) Math.pow(input, 3)) System.out.println System.out System System.out (int) Math.pow(input, 3) Math.pow Math input 3 String args[] args
import java.io.*;

class Main{
public static void main(String args[]) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        int input = Integer.parseInt( reader.readLine() );
        System.out.println((int) Math.pow(input, 3));
    }
 
}