using System; public class Hello { public static void Main() { string[] line = Console.ReadLine().Trim().Split(' '); var h = long.Parse(line[0]); var w = long.Parse(line[1]); var n = long.Parse(line[2]); var k = long.Parse(line[3]); if ((h * w % n == k) | (h * w % n == 0)) Console.WriteLine("YES"); else Console.WriteLine("NO"); } }