
# 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 = math.factorial(N) % (10**9 + 7)

print(ans)

# optimized version of the same code:

N = int(eval(input()))

mod = 10**9 + 7

ans = 1

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

    ans *= i

    ans %= mod

print(ans)

import math

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

N = int(eval(input()))
mod = 10**9 + 7
ans = 1
for i in range(1, N + 1):
    ans *= i
    ans %= mod
print(ans)

-import math - -ans = math.factorial(N) % (10**9 + 7) +mod = 10**9 + 7 +ans = 1 +for i in range(1, N + 1): +    ans *= i +    ans %= mod