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