(stdin => {
  // Define Function
  const getA = v => Math.pow(v, 3)

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

  console.log(getA(X))
})(require('fs').readFileSync('/dev/stdin', 'utf8'))

