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