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