x = eval(input())

print(x**3)
x = eval(input())

x = int(x)

a = x**3

print(a)
x = eval(input())
print(x**3)

x = eval(input())
x = int(x)
a = x**3
print(a)

-print(x**3) +x = int(x) +a = x**3 +print(a)