#include using namespace std; #define ll long long typedef pair P; template inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; } template inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; } #define M 1000000007 #define all(a) (a).begin(),(a).end() #define rep(i,n) reps(i,0,n) #define reps(i,m,n) for(int i=(m);i<(n);i++) vector bit2(ll x){ vector ret; int cnt=33; while(cnt>0){ ret.push_back(x%2); x/=2; cnt--; } return ret; } int main(){ ll a,b,s=1LL;cin>>a>>b; vector c=bit2(a),d=bit2(b); rep(i,33){ if(c[i]==1&&d[i]==0){ cout<<0<