n = int(input()) count = n while count > 0: print(str(n)*count) count -= 1