import java.io.BufferedReader;
import java.io.InputStreamReader;
 
public class Main {
  public static void main(String[] args) throws Exception{
      BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
      int value;
      value = Integer.parseInt(in.readLine());
      System.out.println(value*value*value);
      in.close();
  }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
  public static void main(String[] args) throws Exception{
      BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
      int value;
      value = Integer.parseInt(in.readLine());
      System.out.println(value*value*value);
      in.close();
  }
} Main public static void main(String[] args) throws Exception{
      BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
      int value;
      value = Integer.parseInt(in.readLine());
      System.out.println(value*value*value);
      in.close();
  } main {
      BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
      int value;
      value = Integer.parseInt(in.readLine());
      System.out.println(value*value*value);
      in.close();
  } BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) int value; value value = Integer.parseInt(in.readLine()) value Integer.parseInt(in.readLine()) Integer.parseInt Integer in.readLine() in.readLine in System.out.println(value*value*value) System.out.println System.out System System.out value*value*value value*value*value value value value in.close() in.close in String[] args args public class Main {
  public static void main(String[] args) throws Exception{
      BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
      int value;
      value = Integer.parseInt(in.readLine());
      System.out.println(value*value*value);
      in.close();
  }
} public class Main {
  public static void main(String[] args) throws Exception{
      BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
      int value;
      value = Integer.parseInt(in.readLine());
      System.out.println(value*value*value);
      in.close();
  }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
 
public class Main {
  public static void main(String[] args) throws Exception{
      BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
      int value;
      value = Integer.parseInt(in.readLine());
      System.out.println(value*value*value);
      in.close();
  }
}