n,m,x,y=map(int,(input()+" "+input()).split()) m*=2 print("YES"if(x-y)%m==0 or(x+y-2)%m==m-1 else"NO")