import java.util.*;

public class Main{
	public static void main(String[] args){
		//new Main().printHelloWorld();
		System.out.println(new Main().ITP1_1_B(Integer.parseInt(new Scanner(System.in).next())));
	}

	public void printHelloWorld(){
		System.out.println("Hello World");
	}

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

	public void printHelloWorld(){
		System.out.println("Hello World");
	}

	public int ITP1_1_B(int x){
		return x*x*x;
	}
} Main public static void main(String[] args){
		//new Main().printHelloWorld();
		System.out.println(new Main().ITP1_1_B(Integer.parseInt(new Scanner(System.in).next())));
	} main {
		//new Main().printHelloWorld();
		System.out.println(new Main().ITP1_1_B(Integer.parseInt(new Scanner(System.in).next())));
	} System.out.println(new Main().ITP1_1_B(Integer.parseInt(new Scanner(System.in).next()))) System.out.println System.out System System.out new Main().ITP1_1_B(Integer.parseInt(new Scanner(System.in).next())) new Main().ITP1_1_B new Main() Integer.parseInt(new Scanner(System.in).next()) Integer.parseInt Integer new Scanner(System.in).next() new Scanner(System.in).next new Scanner(System.in) String[] args args public void printHelloWorld(){
		System.out.println("Hello World");
	} printHelloWorld {
		System.out.println("Hello World");
	} System.out.println("Hello World") System.out.println System.out System System.out "Hello World" public int ITP1_1_B(int x){
		return x*x*x;
	} ITP1_1_B {
		return x*x*x;
	} return x*x*x; x*x*x x*x*x x x x int x x public class Main{
	public static void main(String[] args){
		//new Main().printHelloWorld();
		System.out.println(new Main().ITP1_1_B(Integer.parseInt(new Scanner(System.in).next())));
	}

	public void printHelloWorld(){
		System.out.println("Hello World");
	}

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

	public void printHelloWorld(){
		System.out.println("Hello World");
	}

	public int ITP1_1_B(int x){
		return x*x*x;
	}
} Main
import java.util.*;

public class Main{
	public static void main(String[] args){
		//new Main().printHelloWorld();
		System.out.println(new Main().ITP1_1_B(Integer.parseInt(new Scanner(System.in).next())));
	}

	public void printHelloWorld(){
		System.out.println("Hello World");
	}

	public int ITP1_1_B(int x){
		return x*x*x;
	}
}