#include #include #include #include #include int main(void) { long long int a,b,c; scanf("%lld %lld",&a,&c); b=a^c; printf("%lld",b); }