import java.io.*;
class Main{
	public static void main(String args[]){
		BufferedReader readNum = new BufferedReader(new InputStreamReader(System.in));

		try{
			String stringNum = readNum.readLine();
			int Num = Integer.parseInt(stringNum);
			System.out.println((int)Math.pow(Num,3));
		}catch(IOException e){
			System.out.println("error");
		}

	}
} import java.io.*; io.* java class Main{
	public static void main(String args[]){
		BufferedReader readNum = new BufferedReader(new InputStreamReader(System.in));

		try{
			String stringNum = readNum.readLine();
			int Num = Integer.parseInt(stringNum);
			System.out.println((int)Math.pow(Num,3));
		}catch(IOException e){
			System.out.println("error");
		}

	}
} Main public static void main(String args[]){
		BufferedReader readNum = new BufferedReader(new InputStreamReader(System.in));

		try{
			String stringNum = readNum.readLine();
			int Num = Integer.parseInt(stringNum);
			System.out.println((int)Math.pow(Num,3));
		}catch(IOException e){
			System.out.println("error");
		}

	} main {
		BufferedReader readNum = new BufferedReader(new InputStreamReader(System.in));

		try{
			String stringNum = readNum.readLine();
			int Num = Integer.parseInt(stringNum);
			System.out.println((int)Math.pow(Num,3));
		}catch(IOException e){
			System.out.println("error");
		}

	} BufferedReader readNum = new BufferedReader(new InputStreamReader(System.in)); readNum new BufferedReader(new InputStreamReader(System.in)) try{
			String stringNum = readNum.readLine();
			int Num = Integer.parseInt(stringNum);
			System.out.println((int)Math.pow(Num,3));
		}catch(IOException e){
			System.out.println("error");
		} catch(IOException e){
			System.out.println("error");
		} IOException e {
			System.out.println("error");
		} System.out.println("error") System.out.println System.out System System.out "error" {
			String stringNum = readNum.readLine();
			int Num = Integer.parseInt(stringNum);
			System.out.println((int)Math.pow(Num,3));
		} String stringNum = readNum.readLine(); stringNum readNum.readLine() readNum.readLine readNum int Num = Integer.parseInt(stringNum); Num Integer.parseInt(stringNum) Integer.parseInt Integer stringNum System.out.println((int)Math.pow(Num,3)) System.out.println System.out System System.out (int)Math.pow(Num,3) Math.pow Math Num 3 String args[] args
import java.io.*;
class Main{
	public static void main(String args[]){
		BufferedReader readNum = new BufferedReader(new InputStreamReader(System.in));

		try{
			String stringNum = readNum.readLine();
			int Num = Integer.parseInt(stringNum);
			System.out.println((int)Math.pow(Num,3));
		}catch(IOException e){
			System.out.println("error");
		}

	}
}