N = int(input()) ans = [4] i = 3 count = 0 while count < N: ans.append(i) count += 1 i += 3 print(*ans)