#include using namespace std; typedef long long ll; typedef vector vi; typedef pair pii; #define pb push_back #define mp make_pair #define fi first #define se second int main() { ll h,w,a,b; cin>>h>>w>>a>>b; h*=w; if(h%a==0&&a==b)cout<<"YES"<