s = input()



for i in range(len(s)):

    if i % 2 == 0:

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



print()

s = eval(input())

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

s = eval(input())
print((s[::2]))

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