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


class Main{
	public static void main(String[] args)throws IOException{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String name;
		int num;

		while(true){

			try{
				name=br.readLine();
				num=Integer.parseInt(name);
				num=(num*num*num);
				System.out.println(num);
			}

			catch(Exception e){
				System.exit(0);
			}
		}
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io class Main{
	public static void main(String[] args)throws IOException{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String name;
		int num;

		while(true){

			try{
				name=br.readLine();
				num=Integer.parseInt(name);
				num=(num*num*num);
				System.out.println(num);
			}

			catch(Exception e){
				System.exit(0);
			}
		}
	}
} Main public static void main(String[] args)throws IOException{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String name;
		int num;

		while(true){

			try{
				name=br.readLine();
				num=Integer.parseInt(name);
				num=(num*num*num);
				System.out.println(num);
			}

			catch(Exception e){
				System.exit(0);
			}
		}
	} main {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String name;
		int num;

		while(true){

			try{
				name=br.readLine();
				num=Integer.parseInt(name);
				num=(num*num*num);
				System.out.println(num);
			}

			catch(Exception e){
				System.exit(0);
			}
		}
	} BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String name; name int num; num while(true){

			try{
				name=br.readLine();
				num=Integer.parseInt(name);
				num=(num*num*num);
				System.out.println(num);
			}

			catch(Exception e){
				System.exit(0);
			}
		} true {

			try{
				name=br.readLine();
				num=Integer.parseInt(name);
				num=(num*num*num);
				System.out.println(num);
			}

			catch(Exception e){
				System.exit(0);
			}
		} try{
				name=br.readLine();
				num=Integer.parseInt(name);
				num=(num*num*num);
				System.out.println(num);
			}

			catch(Exception e){
				System.exit(0);
			} catch(Exception e){
				System.exit(0);
			} Exception e {
				System.exit(0);
			} System.exit(0) System.exit System 0 {
				name=br.readLine();
				num=Integer.parseInt(name);
				num=(num*num*num);
				System.out.println(num);
			} name=br.readLine() name br.readLine() br.readLine br num=Integer.parseInt(name) num Integer.parseInt(name) Integer.parseInt Integer name num=(num*num*num) num (num*num*num) num*num*num num num num System.out.println(num) System.out.println System.out System System.out num String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;


class Main{
	public static void main(String[] args)throws IOException{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String name;
		int num;

		while(true){

			try{
				name=br.readLine();
				num=Integer.parseInt(name);
				num=(num*num*num);
				System.out.println(num);
			}

			catch(Exception e){
				System.exit(0);
			}
		}
	}
}