const main = (standardInput) => {
    const lengthList = standardInput.split(' ');
    const x = Number.parseInt(lengthList[0]);

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

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

