n = int(input()) for count in range(n): a = n - count print(str(n) * a)