h, w, n, k = map(int, input().split()) print('YES' if n - (h * w % n) == k else 'NO')