import sys input=lambda: sys.stdin.readline().rstrip() h,w,n,k=map(int,input().split()) if (h+w-1)%n==k: print("YES") else: print("NO")