import java.io.*;
/**
 * Created by TmhrMrs on 2016/04/13.
 */
class Main {
    public static void main(String[] args)throws java.io.IOException{
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        String str = in.readLine();
        int a = Integer.parseInt(str);
        System.out.println(a*a*a);
    }
} import java.io.*; io.* java class Main {
    public static void main(String[] args)throws java.io.IOException{
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        String str = in.readLine();
        int a = Integer.parseInt(str);
        System.out.println(a*a*a);
    }
} Main public static void main(String[] args)throws java.io.IOException{
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        String str = in.readLine();
        int a = Integer.parseInt(str);
        System.out.println(a*a*a);
    } main {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        String str = in.readLine();
        int a = Integer.parseInt(str);
        System.out.println(a*a*a);
    } BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) String str = in.readLine(); str in.readLine() in.readLine in int a = Integer.parseInt(str); a Integer.parseInt(str) Integer.parseInt Integer str System.out.println(a*a*a) System.out.println System.out System System.out a*a*a a*a*a a a a String[] args args
import java.io.*;
/**
 * Created by TmhrMrs on 2016/04/13.
 */
class Main {
    public static void main(String[] args)throws java.io.IOException{
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        String str = in.readLine();
        int a = Integer.parseInt(str);
        System.out.println(a*a*a);
    }
}