K = int(input())
res = [1,2,3,4,5,6,7,8,9]
if K > len(res):
    for i in res:
        print(i)
    for j in range(K - len(res)):
        print(10*(j+1)+9)
else:
    for i in range(K):
        print(res[i])