n=int(input()) base='101' print(base+'0'*n)