#include using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(nullptr); long long N,L,R; cin >> N >> L >> R; vector A(N); for(auto &a : A) cin >> a; sort(A.begin(),A.end()); int answer = 1; vector> LR(N),LR2(N); for(int i=0; i=0; k--){ long long now = A.at(i)*A.at(k); if(L <= now && now <= R){ if(r == -1) r = k; l = k; } } LR2.at(i) = {l,r}; } for(int i=0; i