a = int(input(),2) b = int(input(),2) c = str(a^b) print(c)