A,B = map(int,input().split()) a = str(format(A,'b')) b = str(format(B,'b')) ans = "" for i in range(len(a)): if a[i] == b[i]: ans += "0" else: ans += "1" print(ans)