N = int(input()) S = str(N) for i in range(N,0,-1) : print(S*i)