#include using namespace std; const int64_t MOD = 1e9 + 7; int main() { int64_t H, W, N, K; cin >> H >> W >> N >> K; if (N == K) { if (H * W % N == 0) cout << "YES" << endl; else cout << "NO" << endl; return 0; } if (H * W % N == K) cout << "YES" << endl; else cout << "NO" << endl; return 0; }