N = int(input()) sN = str(N) for i in range(N): print(sN*(N-i))