N=int(input())
count=0
tencount=0
keta=0

for i in range(1,N+1):
  count+=1
  print(count*(10**tencount)+keta)
  if count==9:
    count=0
    keta+=(10**tencount)*9
    tencount+=1

'''
for i in range(99,1000,100):
  listi=list(str(i))
  print(i/sum(map(int,listi)))
'''