main = do [h, w, n, k] <- getLine >>= return . map read . words putStrLn $ if (h * w) `mod` n == k `mod` n then "YES" else "NO"