import java.util.Scanner;
public class Main{
	int a;
	public void input(){
		Scanner scan = new Scanner(System.in);
		a = scan.nextInt();
	}
	public void output(){
		System.out.println(a*a*a);
	}
	public static void main(String[] args){
		Main p = new Main();
		p.input();
		p.output();
	}
} import java.util.Scanner; Scanner java.util public class Main{
	int a;
	public void input(){
		Scanner scan = new Scanner(System.in);
		a = scan.nextInt();
	}
	public void output(){
		System.out.println(a*a*a);
	}
	public static void main(String[] args){
		Main p = new Main();
		p.input();
		p.output();
	}
} Main int a; a public void input(){
		Scanner scan = new Scanner(System.in);
		a = scan.nextInt();
	} input {
		Scanner scan = new Scanner(System.in);
		a = scan.nextInt();
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) a = scan.nextInt() a scan.nextInt() scan.nextInt scan public void output(){
		System.out.println(a*a*a);
	} output {
		System.out.println(a*a*a);
	} System.out.println(a*a*a) System.out.println System.out System System.out a*a*a a*a*a a a a public static void main(String[] args){
		Main p = new Main();
		p.input();
		p.output();
	} main {
		Main p = new Main();
		p.input();
		p.output();
	} Main p = new Main(); p new Main() p.input() p.input p p.output() p.output p String[] args args public class Main{
	int a;
	public void input(){
		Scanner scan = new Scanner(System.in);
		a = scan.nextInt();
	}
	public void output(){
		System.out.println(a*a*a);
	}
	public static void main(String[] args){
		Main p = new Main();
		p.input();
		p.output();
	}
} public class Main{
	int a;
	public void input(){
		Scanner scan = new Scanner(System.in);
		a = scan.nextInt();
	}
	public void output(){
		System.out.println(a*a*a);
	}
	public static void main(String[] args){
		Main p = new Main();
		p.input();
		p.output();
	}
} Main
import java.util.Scanner;
public class Main{
	int a;
	public void input(){
		Scanner scan = new Scanner(System.in);
		a = scan.nextInt();
	}
	public void output(){
		System.out.println(a*a*a);
	}
	public static void main(String[] args){
		Main p = new Main();
		p.input();
		p.output();
	}
}