N = int(input()) A = [2**i for i in range(1, N+1)] print(*A)