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