#include #define rep(i,n) for (int (i) = 0; (i) < (n); i++) #define ll long long using namespace std; int main(){ ll l,r,m,k; cin>>l>>r>>m>>k; ll n=0; for(ll i=l;i