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