N = int(input()) for i in range(N): ans = [str(N)]*(N-i) print(''.join(ans))