import java.util.Scanner;
public class Main{
    int x,kei;
    public void solve(){
        Scanner sc = new Scanner(System.in);
        x = sc.nextInt();
        kei = x*x*x;
        System.out.print(kei+"\n");
        
    }
    public static void main(String[] args){
        Main obj = new Main();
        obj.solve();
    }
} import java.util.Scanner; Scanner java.util public class Main{
    int x,kei;
    public void solve(){
        Scanner sc = new Scanner(System.in);
        x = sc.nextInt();
        kei = x*x*x;
        System.out.print(kei+"\n");
        
    }
    public static void main(String[] args){
        Main obj = new Main();
        obj.solve();
    }
} Main int x x kei; kei public void solve(){
        Scanner sc = new Scanner(System.in);
        x = sc.nextInt();
        kei = x*x*x;
        System.out.print(kei+"\n");
        
    } solve {
        Scanner sc = new Scanner(System.in);
        x = sc.nextInt();
        kei = x*x*x;
        System.out.print(kei+"\n");
        
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) x = sc.nextInt() x sc.nextInt() sc.nextInt sc kei = x*x*x kei x*x*x x*x*x x x x System.out.print(kei+"\n") System.out.print System.out System System.out kei+"\n" kei "\n" public static void main(String[] args){
        Main obj = new Main();
        obj.solve();
    } main {
        Main obj = new Main();
        obj.solve();
    } Main obj = new Main(); obj new Main() obj.solve() obj.solve obj String[] args args public class Main{
    int x,kei;
    public void solve(){
        Scanner sc = new Scanner(System.in);
        x = sc.nextInt();
        kei = x*x*x;
        System.out.print(kei+"\n");
        
    }
    public static void main(String[] args){
        Main obj = new Main();
        obj.solve();
    }
} public class Main{
    int x,kei;
    public void solve(){
        Scanner sc = new Scanner(System.in);
        x = sc.nextInt();
        kei = x*x*x;
        System.out.print(kei+"\n");
        
    }
    public static void main(String[] args){
        Main obj = new Main();
        obj.solve();
    }
} Main
import java.util.Scanner;
public class Main{
    int x,kei;
    public void solve(){
        Scanner sc = new Scanner(System.in);
        x = sc.nextInt();
        kei = x*x*x;
        System.out.print(kei+"\n");
        
    }
    public static void main(String[] args){
        Main obj = new Main();
        obj.solve();
    }
}