#include using namespace std; typedef vector vi; typedef vector vvi; typedef vector vs; typedef vector vb; typedef vector vvb; typedef pair pii; typedef long long ll; typedef unsigned long long ull; #define all(a) (a).begin(),(a).end() #define rall(a) (a).rbegin(), (a).rend() #define pb push_back #define mp make_pair #define loop(i,a,b) for(ull i=(a);i> h >> w >> n >> k; if(n==k) k=0; if(h*w%n==k) cout << "YES" << endl; else cout << "NO" << endl; }