
# 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 numpy as np

N, D = list(map(int, input().split()))

print((int(np.ceil(N/(2*D+1)))))

# optimized version of the same code:

N, D = list(map(int, input().split()))

import math

print((math.ceil(N/(2*D+1))))
import numpy as np

N, D = list(map(int, input().split()))
print((int(np.ceil(N / (2 * D + 1)))))

N, D = list(map(int, input().split()))
import math

print((math.ceil(N / (2 * D + 1))))

-import numpy as np +N, D = list(map(int, input().split())) +import math -N, D = list(map(int, input().split())) -print((int(np.ceil(N / (2 * D + 1))))) +print((math.ceil(N / (2 * D + 1))))