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