#include using namespace std; typedef long long ll; int main() { ll h,w,n,k; cin>>h>>w>>n>>k; ll hw=h+w-2; cout<<(((hw%n)==k-1)?"YES":"NO")<