#include #include #include #include #include #include #include #include #include using namespace std; int main(){ int x, y; string a, b; cin >> a >> b; x = stoi(a, nullptr, 2); y = stoi(b, nullptr, 2); cout << (x^y) << endl; /* cout << x << endl << y << endl; cout << (x^y) << endl << (x&&y) << endl; //ビット演算 */ }