K = int(input())
a = []

for i in range(1, K+1):
    temp = str()
    while i > 0:
        if i > 8:
            temp = temp + '9'
            i += -9
        else:
            temp = temp + str(i)
            i = 0
    ans = temp[::-1]
    a.append(int(ans))

for i in a:
    print(i)