N = int(input()) ans = [] cnt = 1 for i in range(N): ans.append(cnt) cnt *= 2 print(*ans)