h, w, n, k = map(int, input().split()) print(['NO', 'YES'][h * w % n == k % n])