import java.util.Scanner;

/**
 * Created by ui on 2016/02/03.
 */
 class XCubic {
     

     static void run () {
        int xc = readInput();
        printCubic(xc);
    }
     static int readInput() {
        Scanner sc = new Scanner(System.in);
        return sc.nextInt();
    }
     static void printCubic (int x){
        System.out.println(x*x*x);
    }
}
public class Main {
    public static void main(String[] args) {
        XCubic.run();
    }
} import java.util.Scanner; Scanner java.util  class XCubic {
     

     static void run () {
        int xc = readInput();
        printCubic(xc);
    }
     static int readInput() {
        Scanner sc = new Scanner(System.in);
        return sc.nextInt();
    }
     static void printCubic (int x){
        System.out.println(x*x*x);
    }
} XCubic static void run () {
        int xc = readInput();
        printCubic(xc);
    } run {
        int xc = readInput();
        printCubic(xc);
    } int xc = readInput(); xc readInput() readInput printCubic(xc) printCubic xc static int readInput() {
        Scanner sc = new Scanner(System.in);
        return sc.nextInt();
    } readInput {
        Scanner sc = new Scanner(System.in);
        return sc.nextInt();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) return sc.nextInt(); sc.nextInt() sc.nextInt sc static void printCubic (int x){
        System.out.println(x*x*x);
    } printCubic {
        System.out.println(x*x*x);
    } System.out.println(x*x*x) System.out.println System.out System System.out x*x*x x*x*x x x x int x x public class Main {
    public static void main(String[] args) {
        XCubic.run();
    }
} Main public static void main(String[] args) {
        XCubic.run();
    } main {
        XCubic.run();
    } XCubic.run() XCubic.run XCubic String[] args args public class Main {
    public static void main(String[] args) {
        XCubic.run();
    }
} public class Main {
    public static void main(String[] args) {
        XCubic.run();
    }
} Main
import java.util.Scanner;

/**
 * Created by ui on 2016/02/03.
 */
 class XCubic {
     

     static void run () {
        int xc = readInput();
        printCubic(xc);
    }
     static int readInput() {
        Scanner sc = new Scanner(System.in);
        return sc.nextInt();
    }
     static void printCubic (int x){
        System.out.println(x*x*x);
    }
}
public class Main {
    public static void main(String[] args) {
        XCubic.run();
    }
}