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

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

} Main void scanX(){
		Scanner s = new Scanner(System.in);
		int x = s.nextInt();
		System.out.println(x*x*x);
	} scanX {
		Scanner s = new Scanner(System.in);
		int x = s.nextInt();
		System.out.println(x*x*x);
	} Scanner s = new Scanner(System.in); s new Scanner(System.in) int x = s.nextInt(); x s.nextInt() s.nextInt s System.out.println(x*x*x) System.out.println System.out System System.out x*x*x x*x*x x x x public static void main(String args[]){
		Main m1 = new Main();
		m1.scanX();
	} main {
		Main m1 = new Main();
		m1.scanX();
	} Main m1 = new Main(); m1 new Main() m1.scanX() m1.scanX m1 String args[] args public class Main {
	void scanX(){
		Scanner s = new Scanner(System.in);
		int x = s.nextInt();
		System.out.println(x*x*x);
	}
	public static void main(String args[]){
		Main m1 = new Main();
		m1.scanX();
	}

} public class Main {
	void scanX(){
		Scanner s = new Scanner(System.in);
		int x = s.nextInt();
		System.out.println(x*x*x);
	}
	public static void main(String args[]){
		Main m1 = new Main();
		m1.scanX();
	}

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

}