#include using namespace std; typedef long long ll; signed main(){ ios::sync_with_stdio(false); cin.tie(0); cout << fixed << setprecision(20); ll a,b; cin>>a>>b; if(a==b){ cout << 1 << endl; return 0; } ll ans = 1; for(ll i=0;i<33;i++){ if((b&(1LL<