s = eval(input())

odd_string = ""



for i, c in enumerate(s):

    if i % 2 == 0:

        odd_string += c



print(odd_string)

s = eval(input())

odd_string = s[::2]



print(odd_string)

s = eval(input())
odd_string = ""
for i, c in enumerate(s):
    if i % 2 == 0:
        odd_string += c
print(odd_string)

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

-odd_string = "" -for i, c in enumerate(s): -    if i % 2 == 0: -        odd_string += c +odd_string = s[::2]