#include using namespace std; int main(){ long long h, w, n, k; cin >> h >> w >> n >> k; if((w + h - 2) % n == k){ cout << "NO" << endl; }else{ cout << "YES" << endl; } }