import java.io.*;

class Main{
	public static void main (String arg[]){
		int num;
		String buf;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			buf = br.readLine();
			num = Integer.parseInt(buf);
			System.out.print(num*num*num);
			System.out.print("\n");
		} catch(Exception e ) {
		}
	}
} import java.io.*; io.* java class Main{
	public static void main (String arg[]){
		int num;
		String buf;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			buf = br.readLine();
			num = Integer.parseInt(buf);
			System.out.print(num*num*num);
			System.out.print("\n");
		} catch(Exception e ) {
		}
	}
} Main public static void main (String arg[]){
		int num;
		String buf;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			buf = br.readLine();
			num = Integer.parseInt(buf);
			System.out.print(num*num*num);
			System.out.print("\n");
		} catch(Exception e ) {
		}
	} main {
		int num;
		String buf;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			buf = br.readLine();
			num = Integer.parseInt(buf);
			System.out.print(num*num*num);
			System.out.print("\n");
		} catch(Exception e ) {
		}
	} int num; num String buf; buf try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			buf = br.readLine();
			num = Integer.parseInt(buf);
			System.out.print(num*num*num);
			System.out.print("\n");
		} catch(Exception e ) {
		} catch(Exception e ) {
		} Exception e {
		} {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			buf = br.readLine();
			num = Integer.parseInt(buf);
			System.out.print(num*num*num);
			System.out.print("\n");
		} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) buf = br.readLine() buf br.readLine() br.readLine br num = Integer.parseInt(buf) num Integer.parseInt(buf) Integer.parseInt Integer buf System.out.print(num*num*num) System.out.print System.out System System.out num*num*num num*num*num num num num System.out.print("\n") System.out.print System.out System System.out "\n" String arg[] arg
import java.io.*;

class Main{
	public static void main (String arg[]){
		int num;
		String buf;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			buf = br.readLine();
			num = Integer.parseInt(buf);
			System.out.print(num*num*num);
			System.out.print("\n");
		} catch(Exception e ) {
		}
	}
}