#include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define rep(i,m,n) for(int (i)=(int)(m);i<(int)(n);i++) #define REP(i,n) rep(i,0,n) #define ll long long int main() { ll l,r,m,k; cin >> l >> r >> m >> k; bool flag =false; ll a,b,c; a = k % m; b = l % m; c = r % m; if((k == 0) ||(l ==0 )|| (k*(r-l) >= m)||(a*b % m) >= (a*c % m)) flag = true; if(flag) cout << "Yes" << endl; else cout << "No" << endl; }