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

from math import factorial



mod = 10**9 + 7

n = int(eval(input()))



ans = factorial(n) % mod

print(ans)

# optimized version of the same code:

N = int(eval(input()))

MOD = 10**9 + 7

ans = 1

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

    ans *= i

    ans %= MOD

print(ans)

from math import factorial

mod = 10**9 + 7
n = int(eval(input()))
ans = factorial(n) % mod
print(ans)

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

-from math import factorial - -mod = 10**9 + 7 -n = int(eval(input())) -ans = factorial(n) % mod +N = int(eval(input())) +MOD = 10**9 + 7 +ans = 1 +for i in range(2, N + 1): +    ans *= i +    ans %= MOD