
# 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:

from statistics import mean



inputCount = int(eval(input()))

prices = [int(eval(input())) for lp in range(inputCount)]

average = mean(prices)

print((int(average)))




# optimized version of the same code:

inputCount = int(eval(input()))

prices = [int(eval(input())) for lp in range(inputCount)]

average = sum(prices) // inputCount

print(average)



from statistics import mean

inputCount = int(eval(input()))
prices = [int(eval(input())) for lp in range(inputCount)]
average = mean(prices)
print((int(average)))

inputCount = int(eval(input()))
prices = [int(eval(input())) for lp in range(inputCount)]
average = sum(prices) // inputCount
print(average)

-from statistics import mean - -average = mean(prices) -print((int(average))) +average = sum(prices) // inputCount +print(average)