s=str(input())
p=""
for i in range(len(s)):
  if i%2==0:
    p=p+s[i]

print(p)
8cf98b400779f778077fa88f9de7b5eb60b7b62d
<mask token>

<mask token>
for i in range(len(s)):
    if i % 2 == 0:
        p = p + s[i]
print(p)

s = str(input())
p = ''
for i in range(len(s)):
    if i % 2 == 0:
        p = p + s[i]
print(p)

s=str(input())
p=""
for i in range(len(s)):
  if i%2==0:
    p=p+s[i]

print(p)