k = int(input())
j = 1
jcount = 1
for i in range(k):
    if i < 9:
        print(i + 1)
    else:
        if j == 10:
            j = 1
            jcount += 1
        print(str(j) + "9" * jcount)
        j += 1