#include using namespace std; #define int long long signed main(){ int h,w,n,k;cin>>h>>w>>n>>k; n%=h*w;if(n==0)n+=h*w; cout<<(n==k?"YES":"NO")<