n=int(input("give range "))
for i in range(1,n,2):
    print("")
    for j in range(1,2*i-1,1):
        t=chr(j+96)
        print(t ,"",end="")































































    
    
    t=chr(i+97)
    print(t)
