#include using namespace std; int main(){ long long H,W,N,K; cin>>H>>W>>N>>K; if(H*W%N==K||(H*W%N==0&&N==K)){ cout<<"YES"<