import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Main{
	public static void main (String[] args) throws java.lang.Exception{
		Scanner scan = new Scanner(System.in);

		String s = scan.next();
		int n = Integer.parseInt(s);
		n = n * n * n;
		System.out.println(n);
	}
} import java.util.*; util.* java import java.lang.*; lang.* java import java.io.*; io.* java class Main{
	public static void main (String[] args) throws java.lang.Exception{
		Scanner scan = new Scanner(System.in);

		String s = scan.next();
		int n = Integer.parseInt(s);
		n = n * n * n;
		System.out.println(n);
	}
} Main public static void main (String[] args) throws java.lang.Exception{
		Scanner scan = new Scanner(System.in);

		String s = scan.next();
		int n = Integer.parseInt(s);
		n = n * n * n;
		System.out.println(n);
	} main {
		Scanner scan = new Scanner(System.in);

		String s = scan.next();
		int n = Integer.parseInt(s);
		n = n * n * n;
		System.out.println(n);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) String s = scan.next(); s scan.next() scan.next scan int n = Integer.parseInt(s); n Integer.parseInt(s) Integer.parseInt Integer s n = n * n * n n n * n * n n * n * n n n n System.out.println(n) System.out.println System.out System System.out n String[] args args
import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Main{
	public static void main (String[] args) throws java.lang.Exception{
		Scanner scan = new Scanner(System.in);

		String s = scan.next();
		int n = Integer.parseInt(s);
		n = n * n * n;
		System.out.println(n);
	}
}