#include #include #include #include using namespace std; int main(void){ long a,b,c; cin >> a >> c; b=a^c; cout << b << "\n"; return 0; }