import java.util.Scanner;

class Main {
  public static void main(String[] args){
    Scanner cin = new Scanner(System.in);
    int x = cin.nextInt();

    int res = sol(x);
    System.out.println(res);
  }

  private static int sol(int x) {
    return (x * x * x);
  }
} import java.util.Scanner; Scanner java.util class Main {
  public static void main(String[] args){
    Scanner cin = new Scanner(System.in);
    int x = cin.nextInt();

    int res = sol(x);
    System.out.println(res);
  }

  private static int sol(int x) {
    return (x * x * x);
  }
} Main public static void main(String[] args){
    Scanner cin = new Scanner(System.in);
    int x = cin.nextInt();

    int res = sol(x);
    System.out.println(res);
  } main {
    Scanner cin = new Scanner(System.in);
    int x = cin.nextInt();

    int res = sol(x);
    System.out.println(res);
  } Scanner cin = new Scanner(System.in); cin new Scanner(System.in) int x = cin.nextInt(); x cin.nextInt() cin.nextInt cin int res = sol(x); res sol(x) sol x System.out.println(res) System.out.println System.out System System.out res String[] args args private static int sol(int x) {
    return (x * x * x);
  } sol {
    return (x * x * x);
  } return (x * x * x); (x * x * x) x * x * x x x x int x x
import java.util.Scanner;

class Main {
  public static void main(String[] args){
    Scanner cin = new Scanner(System.in);
    int x = cin.nextInt();

    int res = sol(x);
    System.out.println(res);
  }

  private static int sol(int x) {
    return (x * x * x);
  }
}