k= int(input())

for i in range(k):
    x = i//9
    y = i%9 +1
    z = int(str(y)+"9"*x)
    if x <=1:
        print(z)
    else:
        y = (i-17)%99
        z = (i-17)//99
        print(int(str(y)+"9"*2))