import Data.Bool main = do [n,m,x,y] <- map read . words <$> getContents putStrLn $ bool "NO" "YES" (mod (x+y) (2*m) == 1 || mod (abs (x-y)) (2*m) == 0)