import sys

for x in sys.stdin:

    print(int(x)**3)
for x in map(int, input().split()):

    print(int(x)**3)
import sys

for x in sys.stdin:
    print(int(x) ** 3)

for x in map(int, input().split()):
    print(int(x) ** 3)

-import sys - -for x in sys.stdin: +for x in map(int, input().split()):