n = int(input()) ans = [i for i in range(n + 2)] ans[0] = 2 * 10**9 ans[-1] = 2 * 10**9 ans[1] = n + 1 print(*ans)