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