import java.util.Scanner;

class AskCubeOfX {
    
    public int Input() {
        
        int x = 0;
        Scanner in = new Scanner(System.in);
        
        x = in.nextInt();
        
        return x;
    }
    
    public int askCube(int x) {
        return  x * x * x;
    }
    
    public void Print(int cube) {
        System.out.println(cube);
    }
}

public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        
        int x = 0, cube = 0;
        
        AskCubeOfX test = new AskCubeOfX();
        
        x = test.Input();
        
        cube = test.askCube(x);
        
        test.Print(cube);
    }
}
/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz