n=26
for i in range(1,n):
    num=i
    for j in range(1,i+1):
        print(num,end=" ")
        num=num+n-j-1
        print(end=" ")
    print()

36906e82df3600b1eda12b58c8baef0bb66921d4
<mask token>

<mask token>
for i in range(1, n):
    num = i
    for j in range(1, i + 1):
        print(num, end=' ')
        num = num + n - j - 1
        print(end=' ')
    print()

n = 26
for i in range(1, n):
    num = i
    for j in range(1, i + 1):
        print(num, end=' ')
        num = num + n - j - 1
        print(end=' ')
    print()

n=26
for i in range(1,n):
    num=i
    for j in range(1,i+1):
        print(num,end=" ")
        num=num+n-j-1
        print(end=" ")
    print()
