import java.io.BufferedReader;
import java.io.InputStreamReader;

class Main{
    public static void main(String[] args) throws Exception{
        int x, ans;

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        x = Integer.parseInt(br.readLine());

        ans = x * x * x;
        System.out.println(ans);
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io class Main{
    public static void main(String[] args) throws Exception{
        int x, ans;

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        x = Integer.parseInt(br.readLine());

        ans = x * x * x;
        System.out.println(ans);
    }
} Main public static void main(String[] args) throws Exception{
        int x, ans;

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        x = Integer.parseInt(br.readLine());

        ans = x * x * x;
        System.out.println(ans);
    } main {
        int x, ans;

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        x = Integer.parseInt(br.readLine());

        ans = x * x * x;
        System.out.println(ans);
    } int x x ans; ans BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) x = Integer.parseInt(br.readLine()) x Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br ans = x * x * x ans x * x * x x * x * x x x x System.out.println(ans) System.out.println System.out System System.out ans String[] args args
import java.io.BufferedReader;
import java.io.InputStreamReader;

class Main{
    public static void main(String[] args) throws Exception{
        int x, ans;

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        x = Integer.parseInt(br.readLine());

        ans = x * x * x;
        System.out.println(ans);
    }
}