(stdin => {
  // Define Function
  const cube = n => Math.pow(n,3)
  // Declare Variable
  const inputs = stdin.toString().trim().split('\n')
  const x = parseInt(inputs[0],10)
  console.log(cube(x))
})(require('fs').readFileSync('/dev/stdin', 'utf8'))

