import sys
sys.stdin = open("더블더블_input.txt", "r")
N = int(input())
ans = []
num = 1
for i in range(N+1):
    ans.append(2**i)
print(*ans)
40e019510515ceec30eeded250213f2a5097df8f
<mask token>

<mask token>
for i in range(N + 1):
    ans.append(2 ** i)
print(*ans)

<mask token>
sys.stdin = open('더블더블_input.txt', 'r')
N = int(input())
ans = []
num = 1
for i in range(N + 1):
    ans.append(2 ** i)
print(*ans)

import sys
sys.stdin = open('더블더블_input.txt', 'r')
N = int(input())
ans = []
num = 1
for i in range(N + 1):
    ans.append(2 ** i)
print(*ans)

import sys
sys.stdin = open("더블더블_input.txt", "r")
N = int(input())
ans = []
num = 1
for i in range(N+1):
    ans.append(2**i)
print(*ans)