b;main(a){for(scanf("%d",&a);a>1>>b;b++);b=!printf("%d",b);}