n = int(input()) count = n while count > 0: for i in range(1,count+1): print(n,end="") print("\n",end="") count -= 1