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