#or x in range(0,6):
  #  for i in range(1,x+1):
   #     print( i,end=" ")
    #print()
#for x in range(0,6):
    #for i in range(1,x+1):
        # print( x,end=" ")
    #print()
for x in range(0,6):
    for j in range(0,x+1):
        j+=65
        print(  char(j),end=" ")
    print()
   
   

   
