import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main{

	public static void main(String[] args){

		//??\??????????????????
		BufferedReader reader= new BufferedReader(new InputStreamReader(System.in));

		String s;

		try{
		s=reader.readLine();
		try{
			int x=Integer.parseInt(s);

			System.out.println(cubeX(x));

		}catch(NumberFormatException e){
			System.out.println("??????:"+e);

		}


		}catch(IOException e){
			System.out.println("??????:"+e);
		}


	}//main??¢??°

	public static int cubeX(int x){

		return x*x*x;
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main{

	public static void main(String[] args){

		//??\??????????????????
		BufferedReader reader= new BufferedReader(new InputStreamReader(System.in));

		String s;

		try{
		s=reader.readLine();
		try{
			int x=Integer.parseInt(s);

			System.out.println(cubeX(x));

		}catch(NumberFormatException e){
			System.out.println("??????:"+e);

		}


		}catch(IOException e){
			System.out.println("??????:"+e);
		}


	}//main??¢??°

	public static int cubeX(int x){

		return x*x*x;
	}

} Main public static void main(String[] args){

		//??\??????????????????
		BufferedReader reader= new BufferedReader(new InputStreamReader(System.in));

		String s;

		try{
		s=reader.readLine();
		try{
			int x=Integer.parseInt(s);

			System.out.println(cubeX(x));

		}catch(NumberFormatException e){
			System.out.println("??????:"+e);

		}


		}catch(IOException e){
			System.out.println("??????:"+e);
		}


	}//main??¢??° main {

		//??\??????????????????
		BufferedReader reader= new BufferedReader(new InputStreamReader(System.in));

		String s;

		try{
		s=reader.readLine();
		try{
			int x=Integer.parseInt(s);

			System.out.println(cubeX(x));

		}catch(NumberFormatException e){
			System.out.println("??????:"+e);

		}


		}catch(IOException e){
			System.out.println("??????:"+e);
		}


	} BufferedReader reader= new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String s; s try{
		s=reader.readLine();
		try{
			int x=Integer.parseInt(s);

			System.out.println(cubeX(x));

		}catch(NumberFormatException e){
			System.out.println("??????:"+e);

		}


		}catch(IOException e){
			System.out.println("??????:"+e);
		} catch(IOException e){
			System.out.println("??????:"+e);
		} IOException e {
			System.out.println("??????:"+e);
		} System.out.println("??????:"+e) System.out.println System.out System System.out "??????:"+e "??????:" e {
		s=reader.readLine();
		try{
			int x=Integer.parseInt(s);

			System.out.println(cubeX(x));

		}catch(NumberFormatException e){
			System.out.println("??????:"+e);

		}


		} s=reader.readLine() s reader.readLine() reader.readLine reader try{
			int x=Integer.parseInt(s);

			System.out.println(cubeX(x));

		}catch(NumberFormatException e){
			System.out.println("??????:"+e);

		} catch(NumberFormatException e){
			System.out.println("??????:"+e);

		} NumberFormatException e {
			System.out.println("??????:"+e);

		} System.out.println("??????:"+e) System.out.println System.out System System.out "??????:"+e "??????:" e {
			int x=Integer.parseInt(s);

			System.out.println(cubeX(x));

		} int x=Integer.parseInt(s); x Integer.parseInt(s) Integer.parseInt Integer s System.out.println(cubeX(x)) System.out.println System.out System System.out cubeX(x) cubeX x String[] args args public static int cubeX(int x){

		return x*x*x;
	} cubeX {

		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){

		//??\??????????????????
		BufferedReader reader= new BufferedReader(new InputStreamReader(System.in));

		String s;

		try{
		s=reader.readLine();
		try{
			int x=Integer.parseInt(s);

			System.out.println(cubeX(x));

		}catch(NumberFormatException e){
			System.out.println("??????:"+e);

		}


		}catch(IOException e){
			System.out.println("??????:"+e);
		}


	}//main??¢??°

	public static int cubeX(int x){

		return x*x*x;
	}

} public class Main{

	public static void main(String[] args){

		//??\??????????????????
		BufferedReader reader= new BufferedReader(new InputStreamReader(System.in));

		String s;

		try{
		s=reader.readLine();
		try{
			int x=Integer.parseInt(s);

			System.out.println(cubeX(x));

		}catch(NumberFormatException e){
			System.out.println("??????:"+e);

		}


		}catch(IOException e){
			System.out.println("??????:"+e);
		}


	}//main??¢??°

	public static int cubeX(int x){

		return x*x*x;
	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main{

	public static void main(String[] args){

		//??\??????????????????
		BufferedReader reader= new BufferedReader(new InputStreamReader(System.in));

		String s;

		try{
		s=reader.readLine();
		try{
			int x=Integer.parseInt(s);

			System.out.println(cubeX(x));

		}catch(NumberFormatException e){
			System.out.println("??????:"+e);

		}


		}catch(IOException e){
			System.out.println("??????:"+e);
		}


	}//main??¢??°

	public static int cubeX(int x){

		return x*x*x;
	}

}