#include #include int main(void) { unsigned long long a,c; scanf("%lld%lld",&a,&c); printf("%lld\n",a^c); return 0; }