N=input() n=int(N) for i in reversed(range(1,n+1)): print("".join([N]*i))