K = int(input())

loop = 0

iter_list = [9,8,7,6,5,4,3,2,1]

while(K >= 9):
  for i in range(2,11):
  	print((10**loop)*i-1)
  loop += 1
  K -= 9

j = 1
while(K > 0):
  print((10**loop)*j-1)
  K -= 1
  j += 1