k = int(input())
a = list()
i = 1
j = 0
while i <= k:
    if i % 9 != 0:
        a.append((i % 9 + 1) * 10 ** j - 1)
    else:
        j += 1
        a.append(10 ** j -1)
    i += 1
for i in range(len(a)):
    print(a[i])