#include #include using namespace std; namespace mp = boost::multiprecision; int main(){ int L,R; cin>>L>>R; vector isPrime(2*R,1); isPrime[1]=0; for(int i=2;i<2*R;++i){ if(isPrime[i]){ for(int j=i*2;j<2*R;j+=i){ isPrime[j]=0; } } } int ans=0; for(int i=L;i