K = int(input())

#def sunuke_calc(i):
#    S = sum([int(c) for c in str(i)])
#    #print('num', i)
#    #print('sunuke', i/S)
#    return i / S

def sunuke_gen():
    i=1
    nine_num = 0
    while True:
        yield int(str(i) + '9'*nine_num)
        i+=1
        if i == (nine_num*10 if nine_num else 10):
            i=10**len(str(nine_num))
            nine_num += 1
            if nine_num == 1:
                i=1


for n, sunuke in enumerate(sunuke_gen(), start=1):
    print(sunuke)
    if n == K:
        exit()
