
# 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

print((math.factorial(int(eval(input())))%1000000007))

# optimized version of the same code:

num = int(eval(input()))

result = 1

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

    result = result *i % 1000000007

print(result)
import math

print((math.factorial(int(eval(input()))) % 1000000007))

num = int(eval(input()))
result = 1
for i in range(1, num + 1):
    result = result * i % 1000000007
print(result)

-import math - -print((math.factorial(int(eval(input()))) % 1000000007)) +num = int(eval(input())) +result = 1 +for i in range(1, num + 1): +    result = result * i % 1000000007 +print(result)