def Sunuke(ith):
    if ith<10:
        return ith
    jth = ith-9
    nn = jth*10+9
    if nn<100:
        return nn
    return nn*10+9
    
    

K = int(input())
for i in range(1, K+1):
    print(Sunuke(i))