#!/bin/python3 import sys #def sumOfGroup(k): # Return the sum of the elements of the k'th group. a=int(input()) print(a*a*a)