import java.io.*;
class Main {
    public static void main(String argv[]) {
        try{
	int x;
        BufferedReader d =new BufferedReader(new InputStreamReader(System.in));
	x= Integer.parseInt(d.readLine());
        System.out.println(x=x*x*x);
	}catch(IOException e){}
    }
} import java.io.*; io.* java class Main {
    public static void main(String argv[]) {
        try{
	int x;
        BufferedReader d =new BufferedReader(new InputStreamReader(System.in));
	x= Integer.parseInt(d.readLine());
        System.out.println(x=x*x*x);
	}catch(IOException e){}
    }
} Main public static void main(String argv[]) {
        try{
	int x;
        BufferedReader d =new BufferedReader(new InputStreamReader(System.in));
	x= Integer.parseInt(d.readLine());
        System.out.println(x=x*x*x);
	}catch(IOException e){}
    } main {
        try{
	int x;
        BufferedReader d =new BufferedReader(new InputStreamReader(System.in));
	x= Integer.parseInt(d.readLine());
        System.out.println(x=x*x*x);
	}catch(IOException e){}
    } try{
	int x;
        BufferedReader d =new BufferedReader(new InputStreamReader(System.in));
	x= Integer.parseInt(d.readLine());
        System.out.println(x=x*x*x);
	}catch(IOException e){} catch(IOException e){} IOException e {} {
	int x;
        BufferedReader d =new BufferedReader(new InputStreamReader(System.in));
	x= Integer.parseInt(d.readLine());
        System.out.println(x=x*x*x);
	} int x; x BufferedReader d =new BufferedReader(new InputStreamReader(System.in)); d new BufferedReader(new InputStreamReader(System.in)) x= Integer.parseInt(d.readLine()) x Integer.parseInt(d.readLine()) Integer.parseInt Integer d.readLine() d.readLine d System.out.println(x=x*x*x) System.out.println System.out System System.out x=x*x*x x x*x*x x*x*x x x x String argv[] argv
import java.io.*;
class Main {
    public static void main(String argv[]) {
        try{
	int x;
        BufferedReader d =new BufferedReader(new InputStreamReader(System.in));
	x= Integer.parseInt(d.readLine());
        System.out.println(x=x*x*x);
	}catch(IOException e){}
    }
}