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