#include #define REP(i,l,u) for(int (i)=(int)(l);(i)<(int)(u);++(i)) using namespace std; typedef int64_t ll; const int INF = 1e8; const double EPS = 1e-10; int main() { ios_base::sync_with_stdio(false); std::cin.tie(0); ll H, W, N, K; cin >> H >> W >> N >> K; cout << (((H+W-1)-K)%N==0 ? "YES" : "NO") << endl; }