
# slower version:

s = input()
for i in range(len(s)):
  if i%2 == 0:
    print(s[i], end = '')


# optimized version of the same code:

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



# slower version:

a, b, c = list(map(int, input().split()))

if (b - a) == (c - b):

    print("YES")

else:

    print("NO")

# optimized version of the same code:

a, b, c = list(map(int, input().split()))

if b - a == c - b:

    print("YES")

else:

    print("NO")
a, b, c = list(map(int, input().split()))
if (b - a) == (c - b):
    print("YES")
else:
    print("NO")

a, b, c = list(map(int, input().split()))
if b - a == c - b:
    print("YES")
else:
    print("NO")

-if (b - a) == (c - b): +if b - a == c - b: