#include using namespace std; #define int long long signed main(){ int A,B; cin>>A>>B; cout<<(A^B)<