//xの3乗
(stdin => {
  // Define Function
  const xCubic = x => x*x*x

  // Declare Variable
  const inputs = stdin.toString().trim().split('\n')
  
  const n = parseInt(inputs[0],10) 
  console.log(xCubic(n))

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

