import java.util.Scanner;

class Main{
    int x,y;
        
    public void solve(){
        Scanner sc = new Scanner(System.in);
        x = sc.nextInt();
        y = x * x * x;
        System.out.println(y);
        
    }
    
    
    public static void main(String[] args){
        
        new Main().solve();
                
    }
    


} import java.util.Scanner; Scanner java.util class Main{
    int x,y;
        
    public void solve(){
        Scanner sc = new Scanner(System.in);
        x = sc.nextInt();
        y = x * x * x;
        System.out.println(y);
        
    }
    
    
    public static void main(String[] args){
        
        new Main().solve();
                
    }
    


} Main int x x y; y public void solve(){
        Scanner sc = new Scanner(System.in);
        x = sc.nextInt();
        y = x * x * x;
        System.out.println(y);
        
    } solve {
        Scanner sc = new Scanner(System.in);
        x = sc.nextInt();
        y = x * x * x;
        System.out.println(y);
        
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) x = sc.nextInt() x sc.nextInt() sc.nextInt sc y = x * x * x y x * x * x x * x * x x x x System.out.println(y) System.out.println System.out System System.out y public static void main(String[] args){
        
        new Main().solve();
                
    } main {
        
        new Main().solve();
                
    } new Main().solve() new Main().solve new Main() String[] args args
import java.util.Scanner;

class Main{
    int x,y;
        
    public void solve(){
        Scanner sc = new Scanner(System.in);
        x = sc.nextInt();
        y = x * x * x;
        System.out.println(y);
        
    }
    
    
    public static void main(String[] args){
        
        new Main().solve();
                
    }
    


}