'use strict';
(function(stdin) {
????var lines?? = stdin.toString().split('\n');
????var result = (function(data) {
??
????????return Math.pow(data,3);
??
????}(parseInt(lines[0])
????));
????console.log(result);
}(require('fs').readFileSync('/dev/stdin', 'utf8')));