#include using namespace std; int main() { int h,w,n,k; cin>>h>>w>>n>>k; cout << (((h*w)%n)+1 == k ? "NO" : "YES") << endl; }