#coding:utf-8

x=int( eval(input()) )

x=x**3

print(x)
import sys



x = int( sys.stdin.readline() )

print(( "{}".format( x**3 ) ))
# coding:utf-8
x = int(eval(input()))
x = x**3
print(x)

import sys

x = int(sys.stdin.readline())
print(("{}".format(x**3)))

-# coding:utf-8 -x = int(eval(input())) -x = x**3 -print(x) +import sys + +x = int(sys.stdin.readline()) +print(("{}".format(x**3)))