CCCPaste

even_powers_of_two_03_01

num = int(input())

for a in range(0, num + 1):
    if a % 2 == 0:
        print(2**a)