N = int(input()) a = N while a > 0: for i in range(a): print(N, end="") print("") a -= 1