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

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

} Main public static void main(String[] arg) throws IOException {
			InputStreamReader is = new InputStreamReader(System.in);       //?????????
	        BufferedReader br = new BufferedReader(is);
			String str = br.readLine();  
			int num = Integer.parseInt(str);
			System.out.println(num*num*num);
	} main {
			InputStreamReader is = new InputStreamReader(System.in);       //?????????
	        BufferedReader br = new BufferedReader(is);
			String str = br.readLine();  
			int num = Integer.parseInt(str);
			System.out.println(num*num*num);
	} InputStreamReader is = new InputStreamReader(System.in); is new InputStreamReader(System.in) BufferedReader br = new BufferedReader(is); br new BufferedReader(is) String str = br.readLine(); str br.readLine() br.readLine br 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[] arg arg public class Main {
		public static void main(String[] arg) throws IOException {
			InputStreamReader is = new InputStreamReader(System.in);       //?????????
	        BufferedReader br = new BufferedReader(is);
			String str = br.readLine();  
			int num = Integer.parseInt(str);
			System.out.println(num*num*num);
	}

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

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

}