h, w, n, k = map(int, input().split()) g = h * w if g % n == 0 and k == n: print('YES') elif g % n == k: print('YES') else: print('NO')