N = int(input())

i = 1
cnt = 0
while( N > cnt ):
  if i == 1:
    print(1)
    i += 1
    cnt += 1
    continue
  if i % 10 == 0:
    i += 1
    continue
  print(str(i % 10) + "9" * (i // 10) )
  i += 1
  cnt += 1