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