N = int(input()) n = str(N) for i in reversed(range(N+1)) : print(n*i)