a = int(input()) for i in range(a)[::-1]: for j in range(i+1): print(a,end="") print()