x=int(input()) if x==1:print(1);exit() print("".join((str(i)*x) for i in range(x,0,-1)))