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