#include using namespace std; int main() { long long h, w, n, k; cin >> h >> w >> n >> k; cout << (h*w%n == k%n ? "YeES" : "NO") << endl; }