num = int(input()) for i in range(num): for j in range(num-i): print(num,end="") print("\n",end="")