<filename>Numeric Patterns/numericpattern246.py
height = int(input())
num = 1

for i in range(1, height + 1):

    for j in range(1, height - i + 2):
    
        if(i == 1 or j == 1 or j == height - i + 1):
            print(height-i+1,end=" ")
            
        else:
            print(end="   ")
        
    print()
    
# Sample Input :- 5
# Output :-
# 5 5 5 5 5 
# 4       4 
# 3    3 
# 2 2 
# 1 
