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