k = int(input())

s = [1, 2, 3, 4, 5, 6, 7, 8, 9]

l = 1

while len(s) < k:
    for i in range(2, 11):
        s.append((10 ** l) * i - 1)
        if len(s) >= k:
            break
    l += 1


for i in s:
    print(i)
