
# 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

x = int(eval(input()))

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

# optimized version of the same code:

n = int(eval(input()))

fact = 1

for i in range(1,n+1):

  fact = fact * i % (10**9 +7)

res = fact % (10**9 + 7)

print(res)
import math

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

n = int(eval(input()))
fact = 1
for i in range(1, n + 1):
    fact = fact * i % (10**9 + 7)
res = fact % (10**9 + 7)
print(res)

-import math - -x = int(eval(input())) -print((math.factorial(x) % (10**9 + 7))) +n = int(eval(input())) +fact = 1 +for i in range(1, n + 1): +    fact = fact * i % (10**9 + 7) +res = fact % (10**9 + 7) +print(res)