Solution to the problem number 10469 of UVA - 10469.

Any questions do not hesitate to contact.

#include <bits/stdc++.h>
#define INF 0x3F3F3F3F
using namespace std;

int main() {
   unsigned int a,b;
   while(scanf("%d%d",&a,&b)==2)
   {
       printf("%d\n",a^b);
   }
    return 0;
}

Don't miss anything.

Keep in touch with Isaac Lozano Osorio!