// No.581 XOR // https://yukicoder.me/problems/no/581 // #include using namespace std; long solve(int a, int c); int main() { long a, c; cin >> a >> c; long b = solve(a, c); cout << b << endl; } long solve(int a, int c) { long b = a ^ c; return b; }