#include using namespace std; int main(){ long long H, W, N, K; cin>> H>> W>> N>> K; if((max(H, W)-(min(H, W)+N-1)%N+N)%N==K) cout<< "YES"<< endl; else cout<< "NO"<< endl; return 0; }