#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long unsigned int ll; #define EPS (1e-7) #define INF (1e9) #define PI (acos(-1)) #define FOR(i,a,b) for(int i=(a);i<(b);++i) #define REP(i,n) FOR(i,0,n) #define ALL(a) (a).begin(),(a).end() int main() { ll h,w,n,k; cin>>h>>w>>n>>k; if((h*w)%n==k%n) cout<<"YES"<<"\n"; else cout<<"NO"<<"\n"; return 0; }