N=int(input()) s=str(N) while N>0: print(s*N) N-=1