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

import math

N = int(eval(input()))

print((math.factorial(N)%(10**9+7)))

# optimized version of the same code:

import math

N = int(eval(input()))

a = 1

for n in range(2,N+1):

    a = a*n % (10**9+7)

print(a)
import math

N = int(eval(input()))
print((math.factorial(N) % (10**9 + 7)))

import math

N = int(eval(input()))
a = 1
for n in range(2, N + 1):
    a = a * n % (10**9 + 7)
print(a)

-print((math.factorial(N) % (10**9 + 7))) +a = 1 +for n in range(2, N + 1): +    a = a * n % (10**9 + 7) +print(a)