using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace yukicoder_166 { class Program { static void Main(string[] args) { string[] s = Console.ReadLine().Split(' '); decimal[] d = new decimal[4]; for (int i = 0; i < 4; i++) { d[i] = decimal.Parse(s[i]); } decimal masu = d[0] * d[1]; if ((masu - d[3]) % d[2] == 0) Console.WriteLine("YES"); else Console.WriteLine("NO"); Console.ReadLine(); } } }