a = int(input()) b = a while b >0: print(str(a)*b) b-=1