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