import java.io.*;

class Main{
  public static void main(String[] args)throws java.io.IOException{
	
	BufferedReader input = new BufferedReader(new InputStreamReader(System.in));

	String hoge = input.readLine();
	int i = Integer.parseInt(hoge);

	System.out.println(i*i*i);
  }
} import java.io.*; io.* java class Main{
  public static void main(String[] args)throws java.io.IOException{
	
	BufferedReader input = new BufferedReader(new InputStreamReader(System.in));

	String hoge = input.readLine();
	int i = Integer.parseInt(hoge);

	System.out.println(i*i*i);
  }
} Main public static void main(String[] args)throws java.io.IOException{
	
	BufferedReader input = new BufferedReader(new InputStreamReader(System.in));

	String hoge = input.readLine();
	int i = Integer.parseInt(hoge);

	System.out.println(i*i*i);
  } main {
	
	BufferedReader input = new BufferedReader(new InputStreamReader(System.in));

	String hoge = input.readLine();
	int i = Integer.parseInt(hoge);

	System.out.println(i*i*i);
  } BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); input new BufferedReader(new InputStreamReader(System.in)) String hoge = input.readLine(); hoge input.readLine() input.readLine input int i = Integer.parseInt(hoge); i Integer.parseInt(hoge) Integer.parseInt Integer hoge System.out.println(i*i*i) System.out.println System.out System System.out i*i*i i*i*i i i i String[] args args
import java.io.*;

class Main{
  public static void main(String[] args)throws java.io.IOException{
	
	BufferedReader input = new BufferedReader(new InputStreamReader(System.in));

	String hoge = input.readLine();
	int i = Integer.parseInt(hoge);

	System.out.println(i*i*i);
  }
}