def solve(N): return [2**i for i in range(1, N+1)] N = int(input()) result = solve(N) print(' '.join(map(str, result)))