#文字数が奇数>偶数ならありえる x=input() y=input() a="" if len(x)==len(y) or len(x)==len(y)+1: for i in range(len(x)): a+=x[i] if i