n;main(k){scanf("%d%d",&n,&k);n=!printf("%d",k-1?1<