N=int(input()) A=[1] for i in range(N-1): A.append(A[-1]<<1) print(*A)