N = int(input()) for i in reversed(range(N+1)): for j in range(i): print(N, end="") print()