import java.io.*;

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

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