x = eval(input())

x_int = int(x)

y = x_int ** 3

print(y)
x = eval(input())

y = x ** 3

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

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

-x_int = int(x) -y = x_int**3 +y = x**3