
function print(data){
  process.stdout.write(data+'\n')
}

const cube = x => x*x*x

const readLine = require('readline')

const rl = readLine.createInterface({
input:process.stdin,
output:process.stdout
})

rl.on('line', (line) => {
  print(cube(parseInt(line)))
})
