K = int(input())
if K >= 9:
    for i in range(1, 10):
        print(i)
else:
    for i in range(1, K+1):
        print(i)
        exit()

K = K - 9
x = 9
for i in range(1, K+1):
    x += 10
    print(x)