
a=1
while a<=6:
    b=1
    while b<a:
        print(b,end="")
        b=b+1
    c=b-1
    while c>1:
        c=c-1
        print(c,end="") 
    print("\n")
    a=a+1

# It will print pattern







 



