S = list(eval(input()))



s = ""

for i in range(len(S)):



    if i%2==0:

        s = s + S[i]



print(s)
s = eval(input())



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

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

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