#include using namespace std; using Int = long long; //INSERT ABOVE HERE signed main(){ Int h,w,n,k; cin>>h>>w>>n>>k; cout<<(h*w%n==k%n?"YES":"NO")<