import java.io.*;
class Main
{
	public static void main(String[] args)throws Exception
	{
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		int x;
		int sum=0;
		x=Integer.parseInt(br.readLine());
		sum=x*x*x;
		System.out.println(sum);
	}
} import java.io.*; io.* java class Main
{
	public static void main(String[] args)throws Exception
	{
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		int x;
		int sum=0;
		x=Integer.parseInt(br.readLine());
		sum=x*x*x;
		System.out.println(sum);
	}
} Main public static void main(String[] args)throws Exception
	{
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		int x;
		int sum=0;
		x=Integer.parseInt(br.readLine());
		sum=x*x*x;
		System.out.println(sum);
	} main {
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		int x;
		int sum=0;
		x=Integer.parseInt(br.readLine());
		sum=x*x*x;
		System.out.println(sum);
	} BufferedReader br =new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int x; x int sum=0; sum 0 x=Integer.parseInt(br.readLine()) x Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br sum=x*x*x sum x*x*x x*x*x x x x System.out.println(sum) System.out.println System.out System System.out sum String[] args args
import java.io.*;
class Main
{
	public static void main(String[] args)throws Exception
	{
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		int x;
		int sum=0;
		x=Integer.parseInt(br.readLine());
		sum=x*x*x;
		System.out.println(sum);
	}
}