a = input()

b = len(a)



num = []



for x in range(0,b,2):

    num.append(x)

    

for i in num:

    print(a[i], end='')

    

    

S = list(eval(input()))



box = []



for x in range(0,len(S),2):

     box.append(S[x])

    

print((''.join(box)))

a = input()
b = len(a)
num = []
for x in range(0, b, 2):
    num.append(x)
for i in num:
    print(a[i], end="")

S = list(eval(input()))
box = []
for x in range(0, len(S), 2):
    box.append(S[x])
print(("".join(box)))

-a = input() -b = len(a) -num = [] -for x in range(0, b, 2): -    num.append(x) -for i in num: -    print(a[i], end="") +S = list(eval(input())) +box = [] +for x in range(0, len(S), 2): +    box.append(S[x]) +print(("".join(box)))