var readStream = require('fs').ReadStream('/dev/stdin');
var readlineInterface = require('readline').createInterface({input: readStream, output: {}});
readlineInterface.on('line', function(line) {
    var n = parseFloat(line);
    console.log(n * n * n);
});