#include #define INF 990000000 //3 using namespace std; int main() { long long int m,n; cin>>m>>n; cout <<(m^n)<