#include #include using namespace std; int main(){ int H, W, N, K; cin >> H >> W >> N >> K; if((H * W - 1) % N + 2 == K){ cout << "YES" << endl; }else{ cout << "NO" << endl; } }