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