#include //string stream 便利! #include #include #include //pair #include // 可変長配列 #include // swap,sort,binary_search #include // 昇順sortに使う greaterが入ってる。 sortの三番目の引数。 #include //map #include //set #include //キュー #include //list #include #include #include #include #include typedef long long ll; #define ARRAY_LENGTH(array) (sizeof(array) / sizeof(array[0])) using namespace std; void omajinai() { cin.tie(0); ios::sync_with_stdio(false); } map m; int main(){ ll n , m , x, y ; cin>>n>>m>>x>>y; ll cx = x%(2*m); ll cy = y%(2*m); if(cx == 0) cx = 2*m; if(cy==0) cy = 2*m; if(cx>m) cx = 2*m + 1 - cx ; if(cy>m) cy = 2*m + 1 - cy ; string ans = (cx == cy) ? "YES" : "NO"; cout<