let main = function(standardInput) {
    let lengthList = standardInput.split(' ');
    let varticalLength = Number.parseInt(lengthList[0]);

    console.log(varticalLength*varticalLength*varticalLength);
}

main(require('fs').readFileSync('/dev/stdin', 'UTF-8'));
