N=int(input()) if N==0: print(0) else: print(str(0)*(N-1)+"010")