K=int(input())
c=1
while K and c<60:
    print(c%10,c//10*'9',sep='')
    c+=1+(c%10==9)
    K-=1
c=10
while K and c<50:
    print(c,'9'*5,sep='')
    K-=1
    c+=1
c=65
while K and c<70:
    print(c%10,c//10*'9',sep='')
    c+=1+(c%10==9)
    K-=1
c=10
while K and c<50:
    print(c,'9'*6,sep='')
    K-=1
    c+=1
c=75
while K and c<80:
    print(c%10,c//10*'9',sep='')
    c+=1+(c%10==9)
    K-=1
c=10
while K and c<50:
    print(c,'9'*7,sep='')
    K-=1
    c+=1
c=85
while K and c<90:
    print(c%10,c//10*'9',sep='')
    c+=1+(c%10==9)
    K-=1
c=10
while K and c<50:
    print(c,'9'*8,sep='')
    K-=1
    c+=1
c=95
while K and c<100:
    print(c%10,c//10*'9',sep='')
    c+=1+(c%10==9)
    K-=1
c=10
while K and c<50:
    print(c,'9'*9,sep='')
    K-=1
    c+=1
c=105
while K and c<110:
    print(c%10,c//10*'9',sep='')
    c+=1+(c%10==9)
    K-=1
c=10
while K and c<50:
    print(c,'9'*10,sep='')
    K-=1
    c+=1
c=115
while K and c<120:
    print(c%10,c//10*'9',sep='')
    c+=1+(c%10==9)
    K-=1
c=10
while K and c<50:
    print(c,'9'*11,sep='')
    K-=1
    c+=1
c=125
while K and c<130:
    print(c%10,c//10*'9',sep='')
    c+=1+(c%10==9)
    K-=1
c=10
while K and c<50:
    print(c,'9'*12,sep='')
    K-=1
    c+=1
c=135
while K and c<140:
    print(c%10,c//10*'9',sep='')
    c+=1+(c%10==9)
    K-=1
c=10
while K and c<50:
    print(c,'9'*13,sep='')
    K-=1
    c+=1
c=145
while K and c<150:
    print(c%10,c//10*'9',sep='')
    c+=1+(c%10==9)
    K-=1
while K and c<50:
    print(c,'9'*14,sep='')
    K-=1
    c+=1
c=155
while K and c<160:
    print(c%10,c//10*'9',sep='')
    c+=1+(c%10==9)
    K-=1