s = eval(input())

x = ''



for i in range(len(s)):

    if i%2 == 0:

        x += s[i:i+1]



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

ans = ''

for i in range(len(s)):

    if i%2 == 0:

        ans += s[i]

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

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

-x = "" +ans = "" -        x += s[i : i + 1] -print(x) +        ans += s[i] +print(ans)