function main(arg) {
	arg = arg.trim();
  	var n = parseInt(arg, 10), out = n;
  	for (var i = 0; i < 2; i++) {
    	out *= n
    }
  console.log(out)
}

main(require('fs').readFileSync('/dev/stdin', 'utf8'));