# from itertools import product
# from functools import reduce

# K = 30


# k = 3

# for n in product(range(10), repeat=k):
#   val = 0
#   for i, m in enumerate(n):
#     val += m*(10**(k-1-i))
#   if val == 0:
#     continue
#   print(val, sum(n), val/sum(n))

K = int(input())

cnt = 0

for i in range(16):
  for j in range(1,10):
    print(str(j) + str(9)*i)
    cnt += 1
    if cnt == K:
      break
  else:
    continue
  break
