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

public class Main {
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = 
                    new BufferedReader( new InputStreamReader(System.in));
            String seedStr = stdReader.readLine();

            Integer seed = Integer.valueOf(seedStr);
            Integer cubicSeed = seed * seed * seed; 
            System.out.println(cubicSeed);
            System.exit(0);

        } catch (Exception e) {
            System.exit(-1);
        }
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = 
                    new BufferedReader( new InputStreamReader(System.in));
            String seedStr = stdReader.readLine();

            Integer seed = Integer.valueOf(seedStr);
            Integer cubicSeed = seed * seed * seed; 
            System.out.println(cubicSeed);
            System.exit(0);

        } catch (Exception e) {
            System.exit(-1);
        }
    }
} Main public static void main(String[] args) {
        try {
            BufferedReader stdReader = 
                    new BufferedReader( new InputStreamReader(System.in));
            String seedStr = stdReader.readLine();

            Integer seed = Integer.valueOf(seedStr);
            Integer cubicSeed = seed * seed * seed; 
            System.out.println(cubicSeed);
            System.exit(0);

        } catch (Exception e) {
            System.exit(-1);
        }
    } main {
        try {
            BufferedReader stdReader = 
                    new BufferedReader( new InputStreamReader(System.in));
            String seedStr = stdReader.readLine();

            Integer seed = Integer.valueOf(seedStr);
            Integer cubicSeed = seed * seed * seed; 
            System.out.println(cubicSeed);
            System.exit(0);

        } catch (Exception e) {
            System.exit(-1);
        }
    } try {
            BufferedReader stdReader = 
                    new BufferedReader( new InputStreamReader(System.in));
            String seedStr = stdReader.readLine();

            Integer seed = Integer.valueOf(seedStr);
            Integer cubicSeed = seed * seed * seed; 
            System.out.println(cubicSeed);
            System.exit(0);

        } catch (Exception e) {
            System.exit(-1);
        } catch (Exception e) {
            System.exit(-1);
        } Exception e {
            System.exit(-1);
        } System.exit(-1) System.exit System -1 1 {
            BufferedReader stdReader = 
                    new BufferedReader( new InputStreamReader(System.in));
            String seedStr = stdReader.readLine();

            Integer seed = Integer.valueOf(seedStr);
            Integer cubicSeed = seed * seed * seed; 
            System.out.println(cubicSeed);
            System.exit(0);

        } BufferedReader stdReader = 
                    new BufferedReader( new InputStreamReader(System.in)); stdReader new BufferedReader( new InputStreamReader(System.in)) String seedStr = stdReader.readLine(); seedStr stdReader.readLine() stdReader.readLine stdReader Integer seed = Integer.valueOf(seedStr); seed Integer.valueOf(seedStr) Integer.valueOf Integer seedStr Integer cubicSeed = seed * seed * seed; cubicSeed seed * seed * seed seed * seed * seed seed seed seed System.out.println(cubicSeed) System.out.println System.out System System.out cubicSeed System.exit(0) System.exit System 0 String[] args args public class Main {
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = 
                    new BufferedReader( new InputStreamReader(System.in));
            String seedStr = stdReader.readLine();

            Integer seed = Integer.valueOf(seedStr);
            Integer cubicSeed = seed * seed * seed; 
            System.out.println(cubicSeed);
            System.exit(0);

        } catch (Exception e) {
            System.exit(-1);
        }
    }
} public class Main {
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = 
                    new BufferedReader( new InputStreamReader(System.in));
            String seedStr = stdReader.readLine();

            Integer seed = Integer.valueOf(seedStr);
            Integer cubicSeed = seed * seed * seed; 
            System.out.println(cubicSeed);
            System.exit(0);

        } catch (Exception e) {
            System.exit(-1);
        }
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = 
                    new BufferedReader( new InputStreamReader(System.in));
            String seedStr = stdReader.readLine();

            Integer seed = Integer.valueOf(seedStr);
            Integer cubicSeed = seed * seed * seed; 
            System.out.println(cubicSeed);
            System.exit(0);

        } catch (Exception e) {
            System.exit(-1);
        }
    }
}