#include using namespace std; int main() { int H, W; long long N, K; cin >> H >> W >> N >> K; if ((H * W) % N == (K % N)) cout << "YES\n"; else cout << "NO\n"; return 0; }