using System; using System.Collections.Generic; using System.Linq; class Magatro { static void Main() { int h, w, n, k; int[] q = Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray(); h = q[0]; w = q[1]; n = q[2]; k = q[3]; k %= n; if ((h * w) % n == k) { Console.WriteLine("YES"); } else { Console.WriteLine("NO"); } } }