#include using namespace std; using ll = long long; #define rep(i,m,n) for(int i=m; i> A >> B; cout << (A|B) + (A&B) << endl; return 0; }