# Author: Scott
# Date: 4/28/25
# E08 #13

p = int(input("Enter a number: "))

for i in range(p+1):
    print(2**i)