import java.io.*;


public class Main {  
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		double num = Double.parseDouble(line);
		double ans = Math.pow(num, (double)3);
		System.out.println((int)ans);
	}
} import java.io.*; io.* java public class Main {  
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		double num = Double.parseDouble(line);
		double ans = Math.pow(num, (double)3);
		System.out.println((int)ans);
	}
} Main public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		double num = Double.parseDouble(line);
		double ans = Math.pow(num, (double)3);
		System.out.println((int)ans);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		double num = Double.parseDouble(line);
		double ans = Math.pow(num, (double)3);
		System.out.println((int)ans);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String line = br.readLine(); line br.readLine() br.readLine br double num = Double.parseDouble(line); num Double.parseDouble(line) Double.parseDouble Double line double ans = Math.pow(num, (double)3); ans Math.pow(num, (double)3) Math.pow Math num (double)3 System.out.println((int)ans) System.out.println System.out System System.out (int)ans String[] args args public class Main {  
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		double num = Double.parseDouble(line);
		double ans = Math.pow(num, (double)3);
		System.out.println((int)ans);
	}
} public class Main {  
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		double num = Double.parseDouble(line);
		double ans = Math.pow(num, (double)3);
		System.out.println((int)ans);
	}
} Main
import java.io.*;


public class Main {  
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		double num = Double.parseDouble(line);
		double ans = Math.pow(num, (double)3);
		System.out.println((int)ans);
	}
}