($n,$m,$x,$y)=glob`dd`;print+($x-$y)%($m*=2)&&($x+$y-1)%$m?NO:YES