# ABC058 B - ∵∴∵

from collections import deque

si = lambda: eval(input())

ni = lambda: int(eval(input()))

nm = lambda: list(map(int, input().split()))

nl = lambda: list(map(int, input().split()))



O = si()

E = si()

N = len(O) + len(E)



O = [ o for o in O]

E = [ e for e in E]

O = deque(O)

E = deque(E)

ans = ''



for i in range(N):

    if i%2==0:

        ans += O.popleft()

    else:

        ans += E.popleft()

print(ans)

o=eval(input())

e=eval(input())

n=len(o)+len(e)

ans=''

for i in range(n):

    if i%2==0:

        ans+=o[i//2]

    else:

        ans+=e[i//2]

print(ans)

# ABC058 B - ∵∴∵
from collections import deque

si = lambda: eval(input())
ni = lambda: int(eval(input()))
nm = lambda: list(map(int, input().split()))
nl = lambda: list(map(int, input().split()))
O = si()
E = si()
N = len(O) + len(E)
O = [o for o in O]
E = [e for e in E]
O = deque(O)
E = deque(E)
ans = ""
for i in range(N):
    if i % 2 == 0:
        ans += O.popleft()
    else:
        ans += E.popleft()
print(ans)

o = eval(input())
e = eval(input())
n = len(o) + len(e)
ans = ""
for i in range(n):
    if i % 2 == 0:
        ans += o[i // 2]
    else:
        ans += e[i // 2]
print(ans)

-# ABC058 B - ∵∴∵ -from collections import deque - -si = lambda: eval(input()) -ni = lambda: int(eval(input())) -nm = lambda: list(map(int, input().split())) -nl = lambda: list(map(int, input().split())) -O = si() -E = si() -N = len(O) + len(E) -O = [o for o in O] -E = [e for e in E] -O = deque(O) -E = deque(E) +o = eval(input()) +e = eval(input()) +n = len(o) + len(e) -for i in range(N): +for i in range(n): -        ans += O.popleft() +        ans += o[i // 2] -        ans += E.popleft() +        ans += e[i // 2]