#include using namespace std; using ll = long long; int main(){ ll h = 0; ll w = 0; ll n = 0; ll k = 0; cin >> h >> w >> n >> k; if(h*w%n==k){ cout << "YES\n"; } else if(h*w%n==0){ cout << "YES\n"; } else{ cout << "NO\n"; } return 0; }