from collections import * from itertools import * from functools import * from heapq import * import sys,math input = sys.stdin.readline A = int(input(),2) B = int(input(),2) A ^= B print(A)