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

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



for i in range(n):

    al[i] -= i + 1



med = np.median(np.array(al))



ans = 0

for a in al:

    ans += abs(a-med)

print((int(ans)))

# optimized version of the same code:

import statistics

n = int(eval(input()))

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



for i in range(n):

    al[i] -= i + 1



median = statistics.median(al)



ans = 0

for a in al:

    ans += abs(median - a)



print((int(ans)))

import numpy as np

n = int(eval(input()))
al = list(map(int, input().split()))
for i in range(n):
    al[i] -= i + 1
med = np.median(np.array(al))
ans = 0
for a in al:
    ans += abs(a - med)
print((int(ans)))

import statistics

n = int(eval(input()))
al = list(map(int, input().split()))
for i in range(n):
    al[i] -= i + 1
median = statistics.median(al)
ans = 0
for a in al:
    ans += abs(median - a)
print((int(ans)))

-import numpy as np +import statistics -med = np.median(np.array(al)) +median = statistics.median(al) -    ans += abs(a - med) +    ans += abs(median - a)