s=eval(input())

l=len(s)

t=""

for i in range(l):

    if i%2==0:

        t+=s[i]

print(t)

s=eval(input())

print((s[0:len(s):2]))

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

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

-l = len(s) -t = "" -for i in range(l): -    if i % 2 == 0: -        t += s[i] -print(t) +print((s[0 : len(s) : 2]))