s=str(input())

s=list(s)

for i in range(len(s)):

    if i%2==0:

        print(s[i],end="")



print((input()[::2]))
s = str(input())
s = list(s)
for i in range(len(s)):
    if i % 2 == 0:
        print(s[i], end="")

print((input()[::2]))

-s = str(input()) -s = list(s) -for i in range(len(s)): -    if i % 2 == 0: -        print(s[i], end="") +print((input()[::2]))