n=int(input()) tmp="" for i in range(n): i+=1 if i==10: tmp+=str(0)*n else: tmp+=str(i)*n print(tmp)