#include using namespace std; int main(){ int h,w,n,k; cin >> h >> w >> n >> k; long long int masu = h * w; while(masu > n) masu -= n; cout << (masu == k ? "YES" : "NO") << endl; return 0; }