import java.io.*;

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

class Main {
    public static void main (String[ ] args) throws IOException {
         
        BufferedReader input = new BufferedReader (new InputStreamReader (System.in));
        String str = input.readLine( );
    	int num = Integer.parseInt(str);
         
        System.out.println(num*num*num);
    }
}