"use strict";

function Main(input) {
   console.log("%d",input*input*input);
}

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

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