K = int(input())

def make(keta):
    num = '9' * (keta - 1)
    ls = []
    for i in range(1,10):
        s = str(i) + num
        ls.append(s)
        
    return ls
  
ls = []
for i in range(1,K//9 + 1):
    ls += make(i)

for i in range(K):
    print(ls[i])
