K = int(input())
kyu = ""
c = 0
e = 1
while c < K and int(str(e) + kyu) <= 10**15:
    while e < 10 and c < K and int(str(e) + kyu) <= 10**15:
        print(int(str(e) + kyu))
        c += 1
        e += 1
    e = 1
    kyu += "9"