import sys A , B = map(int,input().split()) # print(bin(A) ," : " ,bin(B) , " : " ,bin(A^B)) print(A," xor ",B)