#include #include #include using namespace std; long long gcd(long long x, long long y){ if(x < y) swap(x, y); if(x % y == 0) return y; long long t = y; y = x % y; x = t; return gcd(x, y); } int main(){ long long L, R, M, K; cin >> L >> R >> M >> K; long long N = 0; if(K == 0){ cout << "Yes" << endl; return 0; } long long s = gcd(M, K); long long t = M / s; for(int i = L; i <= R; i++){ if(i % t == 0){ cout << "Yes" << endl; return 0; } } cout << "No" << endl; }