#include using namespace std; typedef long long ll; int main(void) { long long h,w,n,k; cin >> h >> w >> n >> k; if(h*w%n +1 != k)cout << "YES" << endl; else cout << "NO" << endl; return 0; }