K = int(input())

i = 1
n = 0
cnt = 1
while cnt <= K:
    x = str(i) + '9' * n
    print(x)
    i += 1
    if int(x) >= 999:
        if i > 10:
            i = 1
            n += 1
    else:
        if i > 9:
            i = 1
            n += 1
    cnt += 1