x = eval(input())

y = int(x) ** 3

print((str(y)))

x = eval(input())

y = int(x) ** 3

print(y)

x = eval(input())
y = int(x) ** 3
print((str(y)))

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

-print((str(y))) +print(y)