#include using namespace std; int main() { int a,c;cin>>a>>c; cout<<(a^c)<