#include
using namespace std;
int main(){
int x , y;
int m = 0;
cin>>x>>y;
int k = 0;
for(int i = x , j = y;i<=y && j>=x; j-- , i++){
k=m;
m = (i^j);
if(m>k){
k=m;
}
}
cout<<k;
}
when given explanation test cases giving right output but failing test cases whats the problem in code ??