
# 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()))

ans = 0



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



print(ans)

# optimized version of the same code:

N = int(eval(input()))

power = 1



for i in range(N):

    power = ((i+1) * power) % 1000000007



print(power)
import math

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

N = int(eval(input()))
power = 1
for i in range(N):
    power = ((i + 1) * power) % 1000000007
print(power)

-import math - -ans = 0 -ans = math.factorial(N) % (10**9 + 7) -print(ans) +power = 1 +for i in range(N): +    power = ((i + 1) * power) % 1000000007 +print(power)