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

p = math.factorial(N)

print((p % 1000000007))

# optimized version of the same code:

N = int(eval(input()))

p = 1

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

    p *= i

    p %= 1000000007

print(p)

import math

N = int(eval(input()))
p = math.factorial(N)
print((p % 1000000007))

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

-import math - -p = math.factorial(N) -print((p % 1000000007)) +p = 1 +for i in range(1, N + 1): +    p *= i +    p %= 1000000007 +print(p)