const main = function(input){
    let num =3;
    let ans=input;
    for(let i=0;i<num-1;i++){
        ans*=input;
    }
    console.log(ans);
}


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