N = int(input()) count = N while count>=0: for _ in range(count): print(N, end="") print('') count -= 1