k = int(input())

def S(n):
  str_n = str(n)
  return sum([int(i) for i in str_n])

count = 0
mul = 1

while count <= k:
  for i in range(1,10):
    if mul==1:
      ans = i*mul
    else:
      ans = i*mul + 9
    print(ans)
    count += 1
  mul *= 10