import java.util.Scanner;


public class Main {
	public static void main(String args[]) {
		
	Scanner sc = new Scanner(System.in);
	String  s = sc.next();
	int x = Integer.parseInt(s);
	System.out.println(x * x * x);
	}

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

} Main public static void main(String args[]) {
		
	Scanner sc = new Scanner(System.in);
	String  s = sc.next();
	int x = Integer.parseInt(s);
	System.out.println(x * x * x);
	} main {
		
	Scanner sc = new Scanner(System.in);
	String  s = sc.next();
	int x = Integer.parseInt(s);
	System.out.println(x * x * x);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String  s = sc.next(); s sc.next() sc.next sc int x = Integer.parseInt(s); x Integer.parseInt(s) Integer.parseInt Integer s System.out.println(x * x * x) System.out.println System.out System System.out x * x * x x * x * x x x x String args[] args public class Main {
	public static void main(String args[]) {
		
	Scanner sc = new Scanner(System.in);
	String  s = sc.next();
	int x = Integer.parseInt(s);
	System.out.println(x * x * x);
	}

} public class Main {
	public static void main(String args[]) {
		
	Scanner sc = new Scanner(System.in);
	String  s = sc.next();
	int x = Integer.parseInt(s);
	System.out.println(x * x * x);
	}

} Main
import java.util.Scanner;


public class Main {
	public static void main(String args[]) {
		
	Scanner sc = new Scanner(System.in);
	String  s = sc.next();
	int x = Integer.parseInt(s);
	System.out.println(x * x * x);
	}

}