import java.util.*;
import java.io.*;

class Main{
    public static void main(String args[])throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int sum=0;
        String s = br.readLine();
        int x = Integer.parseInt(s);
        //sum = x * x * x;
        //Math.pow(a, b);
        sum = (int)Math.pow(x, 3.0);
        System.out.println(sum);
    }
} import java.util.*; util.* java import java.io.*; io.* java class Main{
    public static void main(String args[])throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int sum=0;
        String s = br.readLine();
        int x = Integer.parseInt(s);
        //sum = x * x * x;
        //Math.pow(a, b);
        sum = (int)Math.pow(x, 3.0);
        System.out.println(sum);
    }
} Main public static void main(String args[])throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int sum=0;
        String s = br.readLine();
        int x = Integer.parseInt(s);
        //sum = x * x * x;
        //Math.pow(a, b);
        sum = (int)Math.pow(x, 3.0);
        System.out.println(sum);
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int sum=0;
        String s = br.readLine();
        int x = Integer.parseInt(s);
        //sum = x * x * x;
        //Math.pow(a, b);
        sum = (int)Math.pow(x, 3.0);
        System.out.println(sum);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int sum=0; sum 0 String s = br.readLine(); s br.readLine() br.readLine br int x = Integer.parseInt(s); x Integer.parseInt(s) Integer.parseInt Integer s sum = (int)Math.pow(x, 3.0) sum (int)Math.pow(x, 3.0) Math.pow Math x 3.0 System.out.println(sum) System.out.println System.out System System.out sum String args[] args
import java.util.*;
import java.io.*;

class Main{
    public static void main(String args[])throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int sum=0;
        String s = br.readLine();
        int x = Integer.parseInt(s);
        //sum = x * x * x;
        //Math.pow(a, b);
        sum = (int)Math.pow(x, 3.0);
        System.out.println(sum);
    }
}