import java.util.Scanner;


public class Main {
	
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		
		final long x = sc.nextLong();
		
		System.out.println(x * x * x);
		
	}
	
} import java.util.Scanner; Scanner java.util public class Main {
	
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		
		final long x = sc.nextLong();
		
		System.out.println(x * x * x);
		
	}
	
} Main public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		
		final long x = sc.nextLong();
		
		System.out.println(x * x * x);
		
	} main {
		Scanner sc = new Scanner(System.in);
		
		final long x = sc.nextLong();
		
		System.out.println(x * x * x);
		
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) final long x = sc.nextLong(); x sc.nextLong() sc.nextLong sc 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[]){
		Scanner sc = new Scanner(System.in);
		
		final long x = sc.nextLong();
		
		System.out.println(x * x * x);
		
	}
	
} public class Main {
	
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		
		final long x = sc.nextLong();
		
		System.out.println(x * x * x);
		
	}
	
} Main
import java.util.Scanner;


public class Main {
	
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		
		final long x = sc.nextLong();
		
		System.out.println(x * x * x);
		
	}
	
}