#include #define rep(i,n) for(int i=0;i=0;i--) #define FOR(i,m,n) for(int i=m;i inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; } template inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; } //const ll INF = 1LL << 60; //const int INF = 1001001001; int main(void){ ll h,w,n,k; cin >> h >> w >> n >> k; ll sum=h*w; if(sum%n==k%n) cout << "YES" << endl; else cout << "NO" << endl; return 0; }