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