K = int(input())

#for i in range(1,55):
#  s = 0
#  for j in range(len(str(i))):
#    s += int(str(i)[j])
#  print(str(i)+": "+str(i/s))
counter = 0

if K<10:
  for i in range(1,K+1):
    print(i)
else:
  for i in range(1,10):
    counter += 1
    print(i)
  i = 9
  while(counter!=K):
    i += 10
    print(i)
    counter += 1

