a = int(input()) for i in reversed(range(1,a+1)): print(f'{a}'*i)