k = int(input())
count = 0
top = '1'
keta = ''
while count < k:
    count += 1
    print(str(top)+keta)
    if int(top) != 9:
        top = str(int(top)+1)
    else:
        top = '1'
        keta += '9'