#include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; typedef double D; typedef pair P; #define M 1000000007 #define F first #define S second #define PB push_back #define INF 100000000000000000 ll n,l,r,a[15]; ll gcd(ll x,ll y){ if(x>i&1){ p=lca(p,a[i]); if(p>x)ok=false; c++; } } if(!ok)continue; if(c==1)res+=x/p; else if(c%2)res+=(x/p)*c; else res-=(x/p)*c; } return res; } int main(void){ cin>>n>>l>>r; for(int i=0;i>a[i]; cout<