import java.io.*;

public class Main{
	public static void main(String[] args) throws IOException{
		 BufferedReader r =
            new BufferedReader(new InputStreamReader(System.in), 1);
		String s = r.readLine();
		int a = Integer.parseInt(s);
		System.out.println(a*a*a);
	}
} import java.io.*; io.* java public class Main{
	public static void main(String[] args) throws IOException{
		 BufferedReader r =
            new BufferedReader(new InputStreamReader(System.in), 1);
		String s = r.readLine();
		int a = Integer.parseInt(s);
		System.out.println(a*a*a);
	}
} Main public static void main(String[] args) throws IOException{
		 BufferedReader r =
            new BufferedReader(new InputStreamReader(System.in), 1);
		String s = r.readLine();
		int a = Integer.parseInt(s);
		System.out.println(a*a*a);
	} main {
		 BufferedReader r =
            new BufferedReader(new InputStreamReader(System.in), 1);
		String s = r.readLine();
		int a = Integer.parseInt(s);
		System.out.println(a*a*a);
	} BufferedReader r =
            new BufferedReader(new InputStreamReader(System.in), 1); r new BufferedReader(new InputStreamReader(System.in), 1) String s = r.readLine(); s r.readLine() r.readLine r int a = Integer.parseInt(s); a Integer.parseInt(s) Integer.parseInt Integer s 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 public class Main{
	public static void main(String[] args) throws IOException{
		 BufferedReader r =
            new BufferedReader(new InputStreamReader(System.in), 1);
		String s = r.readLine();
		int a = Integer.parseInt(s);
		System.out.println(a*a*a);
	}
} public class Main{
	public static void main(String[] args) throws IOException{
		 BufferedReader r =
            new BufferedReader(new InputStreamReader(System.in), 1);
		String s = r.readLine();
		int a = Integer.parseInt(s);
		System.out.println(a*a*a);
	}
} Main
import java.io.*;

public class Main{
	public static void main(String[] args) throws IOException{
		 BufferedReader r =
            new BufferedReader(new InputStreamReader(System.in), 1);
		String s = r.readLine();
		int a = Integer.parseInt(s);
		System.out.println(a*a*a);
	}
}