N = int(input()) for i in range(N): S="" for j in range(N-i): S+=str(N) print(S)