N = int(input()) b = 2 ** 24 now = 3 ans = [b * 3,b // 2 * 5,b // 2 * 7] b //= 8 now = 11 for _ in range(N - 3): ans.append(b * now) b //= 2 now = now * 2 - 1 ans.sort() print(*ans[:N])