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