import java.io.*;

class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String str = br.readLine();
    double x = Double.parseDouble(str);
    double result = Math.pow(x, 3.0);
    System.out.println((int)result);
  }
} import java.io.*; io.* java class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String str = br.readLine();
    double x = Double.parseDouble(str);
    double result = Math.pow(x, 3.0);
    System.out.println((int)result);
  }
} Main public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String str = br.readLine();
    double x = Double.parseDouble(str);
    double result = Math.pow(x, 3.0);
    System.out.println((int)result);
  } main {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String str = br.readLine();
    double x = Double.parseDouble(str);
    double result = Math.pow(x, 3.0);
    System.out.println((int)result);
  } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br double x = Double.parseDouble(str); x Double.parseDouble(str) Double.parseDouble Double str double result = Math.pow(x, 3.0); result Math.pow(x, 3.0) Math.pow Math x 3.0 System.out.println((int)result) System.out.println System.out System System.out (int)result String[] args args
import java.io.*;

class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String str = br.readLine();
    double x = Double.parseDouble(str);
    double result = Math.pow(x, 3.0);
    System.out.println((int)result);
  }
}