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