N=int(input()) L = [2,3,6] for i in range(N-3): L.append(L[-1]*2) print(*L)