import sys
input = sys.stdin.readline
K = int(input())

#for i in range(1, 1001):
#    tmp = i
#    s = 0
#    while tmp >= 10:
#        s += tmp%10
#        tmp //= 10
#    s += tmp
#    print(i, i/s)
mag = 1
cnt = 0
ans = 0
for _ in range(K):
    ans += mag
    cnt += 1
    if cnt==9:
        mag *= 10
        cnt = 0
    print(ans)
