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

public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
        String line = r.readLine();
        while (line != null) {
            handleLine(line);
            line = r.readLine();
        }
    }
    
    public static void handleLine(String line) {
        int value = Integer.parseInt(line);
        System.out.println("" + (value * value * value));
    }
} 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 r = new BufferedReader(new InputStreamReader(System.in));
        String line = r.readLine();
        while (line != null) {
            handleLine(line);
            line = r.readLine();
        }
    }
    
    public static void handleLine(String line) {
        int value = Integer.parseInt(line);
        System.out.println("" + (value * value * value));
    }
} Main public static void main(String[] args) throws Exception {
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
        String line = r.readLine();
        while (line != null) {
            handleLine(line);
            line = r.readLine();
        }
    } main {
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
        String line = r.readLine();
        while (line != null) {
            handleLine(line);
            line = r.readLine();
        }
    } BufferedReader r = new BufferedReader(new InputStreamReader(System.in)); r new BufferedReader(new InputStreamReader(System.in)) String line = r.readLine(); line r.readLine() r.readLine r while (line != null) {
            handleLine(line);
            line = r.readLine();
        } line != null line null {
            handleLine(line);
            line = r.readLine();
        } handleLine(line) handleLine line line = r.readLine() line r.readLine() r.readLine r String[] args args public static void handleLine(String line) {
        int value = Integer.parseInt(line);
        System.out.println("" + (value * value * value));
    } handleLine {
        int value = Integer.parseInt(line);
        System.out.println("" + (value * value * value));
    } int value = Integer.parseInt(line); value Integer.parseInt(line) Integer.parseInt Integer line System.out.println("" + (value * value * value)) System.out.println System.out System System.out "" + (value * value * value) "" (value * value * value) value * value * value value value value String line line public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
        String line = r.readLine();
        while (line != null) {
            handleLine(line);
            line = r.readLine();
        }
    }
    
    public static void handleLine(String line) {
        int value = Integer.parseInt(line);
        System.out.println("" + (value * value * value));
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
        String line = r.readLine();
        while (line != null) {
            handleLine(line);
            line = r.readLine();
        }
    }
    
    public static void handleLine(String line) {
        int value = Integer.parseInt(line);
        System.out.println("" + (value * value * value));
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
        String line = r.readLine();
        while (line != null) {
            handleLine(line);
            line = r.readLine();
        }
    }
    
    public static void handleLine(String line) {
        int value = Integer.parseInt(line);
        System.out.println("" + (value * value * value));
    }
}