import java.io.*;
public class Main {
	public static void main(String[] args){
		BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
		try{
		String s = input.readLine();
		int x=Integer.parseInt(s);
		System.out.println(x*x*x);
		}catch(IOException e){}
		}

	} import java.io.*; io.* java public class Main {
	public static void main(String[] args){
		BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
		try{
		String s = input.readLine();
		int x=Integer.parseInt(s);
		System.out.println(x*x*x);
		}catch(IOException e){}
		}

	} Main public static void main(String[] args){
		BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
		try{
		String s = input.readLine();
		int x=Integer.parseInt(s);
		System.out.println(x*x*x);
		}catch(IOException e){}
		} main {
		BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
		try{
		String s = input.readLine();
		int x=Integer.parseInt(s);
		System.out.println(x*x*x);
		}catch(IOException e){}
		} BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); input new BufferedReader(new InputStreamReader(System.in)) try{
		String s = input.readLine();
		int x=Integer.parseInt(s);
		System.out.println(x*x*x);
		}catch(IOException e){} catch(IOException e){} IOException e {} {
		String s = input.readLine();
		int x=Integer.parseInt(s);
		System.out.println(x*x*x);
		} String s = input.readLine(); s input.readLine() input.readLine input 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){
		BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
		try{
		String s = input.readLine();
		int x=Integer.parseInt(s);
		System.out.println(x*x*x);
		}catch(IOException e){}
		}

	} public class Main {
	public static void main(String[] args){
		BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
		try{
		String s = input.readLine();
		int x=Integer.parseInt(s);
		System.out.println(x*x*x);
		}catch(IOException e){}
		}

	} Main
import java.io.*;
public class Main {
	public static void main(String[] args){
		BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
		try{
		String s = input.readLine();
		int x=Integer.parseInt(s);
		System.out.println(x*x*x);
		}catch(IOException e){}
		}

	}