K = int(input())

counter = 0

for i in range(1, 10):
    print(i)
    counter += 1

    if counter == K:
        break

if K >= 10:
    a = 10
    while True:
        print(a + 9)
        counter += 1

        if counter == K:
            break
        else:
            a += 10
