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