#include using namespace std; int N,K; main() { cin>>N>>K; cout<1&&K+1!=N)<