
# 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, M = [int(x) for x in input().split()]

L = [[int (y) for y in input().split()] for _ in range(M)]

L = sum(L, [])



for i in np.arange(1, N+1):

    print((L.count(i)))

# optimized version of the same code:

N, M = [int(x) for x in input().split()]

L = [[int (y) for y in input().split()] for _ in range(M)]

L = sum(L, [])



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

    print((L.count(i)))
import numpy as np

N, M = [int(x) for x in input().split()]
L = [[int(y) for y in input().split()] for _ in range(M)]
L = sum(L, [])
for i in np.arange(1, N + 1):
    print((L.count(i)))

N, M = [int(x) for x in input().split()]
L = [[int(y) for y in input().split()] for _ in range(M)]
L = sum(L, [])
for i in range(1, N + 1):
    print((L.count(i)))

-import numpy as np - -for i in np.arange(1, N + 1): +for i in range(1, N + 1):