Problem:
X Cubic

Write a program which calculates the cube of a given integer x.

Input

An integer x is given in a line.

Output

Print the cube of x in a line.

Constraints

1 ≤ x ≤ 100

Sample Input 1

2

Sample Output 1

8

Sample Input 2

3

Sample Output 2

27

Solution in JAVA (judge verdict: Accepted)

class Main
{
  public static void main(String[] args) {
    System.out.println(new Main(Main.readInt(System.in)).cubic());
  }
  
  private static int readInt(java.io.InputStream in) {
    java.io.BufferedReader reader = null;
    int n = 0;
    try {
      reader = new java.io.BufferedReader(new java.io.InputStreamReader(in));
      n = Integer.parseInt(reader.readLine());
    } catch (java.io.IOException e) {
      e.printStackTrace();
    } finally {
      if (reader != null) {
        try {
          reader.close();
        } catch (java.io.IOException e) {
          e.printStackTrace();
        }
      }
    }
    return n;
  }
  
  private final int x;
  private Main(int x) {
    this.x = x;
  }
  private int cubic() {
    return x * x * x;
  }
}