s = eval(input ())

odd_num = list()



for i in range(len(s)):

    if i % 2 == 0:

        odd_num.append(s[i])



answer = "".join(odd_num)

print(answer)

s = eval(input())

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

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

-odd_num = list() -for i in range(len(s)): -    if i % 2 == 0: -        odd_num.append(s[i]) -answer = "".join(odd_num) -print(answer) +print((s[::2]))