n = int(input())
for step in range(0, n + 1, 2):
    print(2 ** step)

3261cacc855bcd4ecaab52195a8b4abb60c18785
<mask token>

<mask token>
for step in range(0, n + 1, 2):
    print(2 ** step)

n = int(input())
for step in range(0, n + 1, 2):
    print(2 ** step)
