
# 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,L = list(map(int,input().split()))

apple = np.array(list(range(N))) + 1

taste = apple + L - 1

taste_applepie = sum(taste)

if L <= 0 and abs(N) > abs(L):

    print(taste_applepie)

elif L > 0:

    print((taste_applepie - L))

else:

    print((taste_applepie - (N+L-1)))

# optimized version of the same code:

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

t = [L+i-1 for i in range(1,N+1)]

abst = list(map(abs,t))

minind = abst.index(min(abst))

print((sum(t)-t[minind]))
import numpy as np

N, L = list(map(int, input().split()))
apple = np.array(list(range(N))) + 1
taste = apple + L - 1
taste_applepie = sum(taste)
if L <= 0 and abs(N) > abs(L):
    print(taste_applepie)
elif L > 0:
    print((taste_applepie - L))
else:
    print((taste_applepie - (N + L - 1)))

N, L = list(map(int, input().split()))
t = [L + i - 1 for i in range(1, N + 1)]
abst = list(map(abs, t))
minind = abst.index(min(abst))
print((sum(t) - t[minind]))

-import numpy as np - -apple = np.array(list(range(N))) + 1 -taste = apple + L - 1 -taste_applepie = sum(taste) -if L <= 0 and abs(N) > abs(L): -    print(taste_applepie) -elif L > 0: -    print((taste_applepie - L)) -else: -    print((taste_applepie - (N + L - 1))) +t = [L + i - 1 for i in range(1, N + 1)] +abst = list(map(abs, t)) +minind = abst.index(min(abst)) +print((sum(t) - t[minind]))