
# 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 = int(eval(input()))

list_ai = list(map(int,input().split()))

list1 = [x-(i+1) for i,x in enumerate(list_ai)]

a1 = np.array(list1)

median1 = int(np.floor(np.median(a1)))

ans = np.sum(np.abs(a1-median1))

print(ans)

# optimized version of the same code:

import numpy as np

N = int(eval(input()))

list_ai = list(map(int,input().split()))

a1 = np.array(list_ai)-np.arange(1,N+1)

median1 = int(np.floor(np.median(a1)))

ans = np.sum(np.abs(a1-median1))

print(ans)

import numpy as np

N = int(eval(input()))
list_ai = list(map(int, input().split()))
list1 = [x - (i + 1) for i, x in enumerate(list_ai)]
a1 = np.array(list1)
median1 = int(np.floor(np.median(a1)))
ans = np.sum(np.abs(a1 - median1))
print(ans)

import numpy as np

N = int(eval(input()))
list_ai = list(map(int, input().split()))
a1 = np.array(list_ai) - np.arange(1, N + 1)
median1 = int(np.floor(np.median(a1)))
ans = np.sum(np.abs(a1 - median1))
print(ans)

-list1 = [x - (i + 1) for i, x in enumerate(list_ai)] -a1 = np.array(list1) +a1 = np.array(list_ai) - np.arange(1, N + 1)