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