
# 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:

X, Y, Z = list(map(int, input().split()))

for n in range(10 ** 5, 0, -1):

    if X >= n * (Y + Z) + Z:

        break

print(n)

# optimized version of the same code:

X, Y, Z = list(map(int, input().split()))

print(((X - Z) // (Y + Z)))
X, Y, Z = list(map(int, input().split()))
for n in range(10**5, 0, -1):
    if X >= n * (Y + Z) + Z:
        break
print(n)

X, Y, Z = list(map(int, input().split()))
print(((X - Z) // (Y + Z)))

-for n in range(10**5, 0, -1): -    if X >= n * (Y + Z) + Z: -        break -print(n) +print(((X - Z) // (Y + Z)))