#include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define rep(i,a,b) for(int i=a;i> n >> m >> a >> b; if (cls(a,m) == cls(b,m)){ cout << "yes" << endl; }else{ cout << "no" << endl; } }