for i in range (1,10):
    print("")
    for j in range (9-i):
        print(0,end='')
    for m in range (i):
        print(i,end='')
    
        
        
    
           
        
       
        




