s = list(input())



l = [s[i] for i in range(len(s)) if i % 2 == 0]



for i in l:

    print(i, end='')

s = eval(input())

t = []

for i in range(len(s)):

    if i % 2 == 0:

        t.append(s[i])



print((''.join(t)))
s = list(input())
l = [s[i] for i in range(len(s)) if i % 2 == 0]
for i in l:
    print(i, end="")

s = eval(input())
t = []
for i in range(len(s)):
    if i % 2 == 0:
        t.append(s[i])
print(("".join(t)))

-s = list(input()) -l = [s[i] for i in range(len(s)) if i % 2 == 0] -for i in l: -    print(i, end="") +s = eval(input()) +t = [] +for i in range(len(s)): +    if i % 2 == 0: +        t.append(s[i]) +print(("".join(t)))