"use strict";
function Main(input) {
  var x = parseInt(input);
  console.log(x * x * x);
}

function debug() {
  var input = document.getElementById('input').value;
  Main(input);
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));

