import java.io.*;

public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String in = br.readLine();
		double x = Math.pow(Integer.parseInt(in), 3);
		System.out.println((int)x);
		br.close();
	}
} 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 in = br.readLine();
		double x = Math.pow(Integer.parseInt(in), 3);
		System.out.println((int)x);
		br.close();
	}
} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String in = br.readLine();
		double x = Math.pow(Integer.parseInt(in), 3);
		System.out.println((int)x);
		br.close();
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String in = br.readLine();
		double x = Math.pow(Integer.parseInt(in), 3);
		System.out.println((int)x);
		br.close();
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String in = br.readLine(); in br.readLine() br.readLine br double x = Math.pow(Integer.parseInt(in), 3); x Math.pow(Integer.parseInt(in), 3) Math.pow Math Integer.parseInt(in) Integer.parseInt Integer in 3 System.out.println((int)x) System.out.println System.out System System.out (int)x br.close() br.close br String[] args args public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String in = br.readLine();
		double x = Math.pow(Integer.parseInt(in), 3);
		System.out.println((int)x);
		br.close();
	}
} public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String in = br.readLine();
		double x = Math.pow(Integer.parseInt(in), 3);
		System.out.println((int)x);
		br.close();
	}
} Main
import java.io.*;

public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String in = br.readLine();
		double x = Math.pow(Integer.parseInt(in), 3);
		System.out.println((int)x);
		br.close();
	}
}