N = int(input()) now = 2 ** (N - 2) ans = [now,now * 3] for _ in range(N - 2): t = ans[-1] now //= 2 ans.append((t // now + 1) * now) print(*ans)