n = int(input()) for i in range(n): s = "" for j in range(n-i): s += n print(s)