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