#include #include #include using namespace std; int main(){ int n,m,x,y; cin>>n>>m>>x>>y; if((x-1)/m%2==(y-1)/m%2){ if(x%m==y%m) cout<<"YES"<