
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int readInt = Integer.parseInt(reader.readLine());
    System.out.println((int) Math.pow(readInt, 3));
  }
  
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int readInt = Integer.parseInt(reader.readLine());
    System.out.println((int) Math.pow(readInt, 3));
  }
  
} Main public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int readInt = Integer.parseInt(reader.readLine());
    System.out.println((int) Math.pow(readInt, 3));
  } main {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int readInt = Integer.parseInt(reader.readLine());
    System.out.println((int) Math.pow(readInt, 3));
  } BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) int readInt = Integer.parseInt(reader.readLine()); readInt Integer.parseInt(reader.readLine()) Integer.parseInt Integer reader.readLine() reader.readLine reader System.out.println((int) Math.pow(readInt, 3)) System.out.println System.out System System.out (int) Math.pow(readInt, 3) Math.pow Math readInt 3 String[] args args public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int readInt = Integer.parseInt(reader.readLine());
    System.out.println((int) Math.pow(readInt, 3));
  }
  
} public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int readInt = Integer.parseInt(reader.readLine());
    System.out.println((int) Math.pow(readInt, 3));
  }
  
} Main

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int readInt = Integer.parseInt(reader.readLine());
    System.out.println((int) Math.pow(readInt, 3));
  }
  
}