(function(stdin) {
	var lines = stdin.toString().split('\n');
        var x = parseInt(lines[0],10);
        Math.pow(x,3);
        console.log(x);
}(require('fs').readFileSync('/dev/stdin', 'utf8')));