
# 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

print((factorial(int(eval(input()))) % (10**9+7)))

# optimized version of the same code:

ans = 1

for k in range(1, int(eval(input()))+1):

    ans = ans*k % (10**9+7)

print(ans)
from math import factorial

print((factorial(int(eval(input()))) % (10**9 + 7)))

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

-from math import factorial - -print((factorial(int(eval(input()))) % (10**9 + 7))) +ans = 1 +for k in range(1, int(eval(input())) + 1): +    ans = ans * k % (10**9 + 7) +print(ans)