#!/bin/python3 import sys k = int(input().strip()) print(k**3)