#coding: utf-8

m = 15
cnt = 0

k = int(raw_input())

for i in range(m):
    for j in range(1,10):
        n = (10**i)*j-1
        if n != 0:
            print n
            cnt += 1
            if cnt == k: exit()
