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