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

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

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

	} main {
		
		try{
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		
		String c = in.readLine();
			
					int num = Integer.parseInt(c);
		
		System.out.println(num*num*num);
		}catch(IOException e){
			e.printStackTrace();
		}

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

	}
}