import static java.lang.Double.parseDouble;

public class Main {
    public static void main (String[] args ) {
        int i ;
        String number = new java.util.Scanner ( System.in ).nextLine();
        i = (int) xclubic (parseDouble(number));
        System.out.println(i);
    }
    public static double xclubic (double x) {
        double y;
        y = 3;
        return Math.pow(x , y);
    }
} import static java.lang.Double.parseDouble; import static java.lang.Double.parseDouble; import static java.lang.Double.parseDouble; public class Main {
    public static void main (String[] args ) {
        int i ;
        String number = new java.util.Scanner ( System.in ).nextLine();
        i = (int) xclubic (parseDouble(number));
        System.out.println(i);
    }
    public static double xclubic (double x) {
        double y;
        y = 3;
        return Math.pow(x , y);
    }
} Main public static void main (String[] args ) {
        int i ;
        String number = new java.util.Scanner ( System.in ).nextLine();
        i = (int) xclubic (parseDouble(number));
        System.out.println(i);
    } main {
        int i ;
        String number = new java.util.Scanner ( System.in ).nextLine();
        i = (int) xclubic (parseDouble(number));
        System.out.println(i);
    } int i ; i String number = new java.util.Scanner ( System.in ).nextLine(); number new java.util.Scanner ( System.in ).nextLine() new java.util.Scanner ( System.in ).nextLine new java.util.Scanner ( System.in ) i = (int) xclubic (parseDouble(number)) i (int) xclubic (parseDouble(number)) xclubic parseDouble(number) parseDouble number System.out.println(i) System.out.println System.out System System.out i String[] args args public static double xclubic (double x) {
        double y;
        y = 3;
        return Math.pow(x , y);
    } xclubic {
        double y;
        y = 3;
        return Math.pow(x , y);
    } double y; y y = 3 y 3 return Math.pow(x , y); Math.pow(x , y) Math.pow Math x y double x x public class Main {
    public static void main (String[] args ) {
        int i ;
        String number = new java.util.Scanner ( System.in ).nextLine();
        i = (int) xclubic (parseDouble(number));
        System.out.println(i);
    }
    public static double xclubic (double x) {
        double y;
        y = 3;
        return Math.pow(x , y);
    }
} public class Main {
    public static void main (String[] args ) {
        int i ;
        String number = new java.util.Scanner ( System.in ).nextLine();
        i = (int) xclubic (parseDouble(number));
        System.out.println(i);
    }
    public static double xclubic (double x) {
        double y;
        y = 3;
        return Math.pow(x , y);
    }
} Main
import static java.lang.Double.parseDouble;

public class Main {
    public static void main (String[] args ) {
        int i ;
        String number = new java.util.Scanner ( System.in ).nextLine();
        i = (int) xclubic (parseDouble(number));
        System.out.println(i);
    }
    public static double xclubic (double x) {
        double y;
        y = 3;
        return Math.pow(x , y);
    }
}