import static java.lang.System.out;
import java.util.Scanner;

class XCubic {
    public void run() {
        int input = new Scanner( System.in).nextInt();
        out.println( power( input, 3));
    }

    private int power( int num, int index) {
        if ( index < 2) {
            return num;
        }
        return num * power( num, index -1);
    }
}

public class Main {
    public static void main( String... args) {
        XCubic test = new XCubic();
        test.run();
    }
} import static java.lang.System.out; import static java.lang.System.out; import static java.lang.System.out; import java.util.Scanner; Scanner java.util class XCubic {
    public void run() {
        int input = new Scanner( System.in).nextInt();
        out.println( power( input, 3));
    }

    private int power( int num, int index) {
        if ( index < 2) {
            return num;
        }
        return num * power( num, index -1);
    }
} XCubic public void run() {
        int input = new Scanner( System.in).nextInt();
        out.println( power( input, 3));
    } run {
        int input = new Scanner( System.in).nextInt();
        out.println( power( input, 3));
    } int input = new Scanner( System.in).nextInt(); input new Scanner( System.in).nextInt() new Scanner( System.in).nextInt new Scanner( System.in) out.println( power( input, 3)) out.println out power( input, 3) power input 3 private int power( int num, int index) {
        if ( index < 2) {
            return num;
        }
        return num * power( num, index -1);
    } power {
        if ( index < 2) {
            return num;
        }
        return num * power( num, index -1);
    } if ( index < 2) {
            return num;
        } index < 2 index 2 {
            return num;
        } return num; num return num * power( num, index -1); num * power( num, index -1) num power( num, index -1) power num index -1 index 1 int num num int index index public class Main {
    public static void main( String... args) {
        XCubic test = new XCubic();
        test.run();
    }
} Main public static void main( String... args) {
        XCubic test = new XCubic();
        test.run();
    } main {
        XCubic test = new XCubic();
        test.run();
    } XCubic test = new XCubic(); test new XCubic() test.run() test.run test String... args args public class Main {
    public static void main( String... args) {
        XCubic test = new XCubic();
        test.run();
    }
} public class Main {
    public static void main( String... args) {
        XCubic test = new XCubic();
        test.run();
    }
} Main
import static java.lang.System.out;
import java.util.Scanner;

class XCubic {
    public void run() {
        int input = new Scanner( System.in).nextInt();
        out.println( power( input, 3));
    }

    private int power( int num, int index) {
        if ( index < 2) {
            return num;
        }
        return num * power( num, index -1);
    }
}

public class Main {
    public static void main( String... args) {
        XCubic test = new XCubic();
        test.run();
    }
}