
# 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

s = np.array(list(eval(input())))

t = np.array(list(eval(input())))

print((len(s[s==t])))


# optimized version of the same code:

s = eval(input())

t = eval(input())

ans = 0

for i in range(len(s)):

    if s[i] == t[i]:

        ans += 1

print(ans)

import numpy as np

s = np.array(list(eval(input())))
t = np.array(list(eval(input())))
print((len(s[s == t])))

s = eval(input())
t = eval(input())
ans = 0
for i in range(len(s)):
    if s[i] == t[i]:
        ans += 1
print(ans)

-import numpy as np - -s = np.array(list(eval(input()))) -t = np.array(list(eval(input()))) -print((len(s[s == t]))) +s = eval(input()) +t = eval(input()) +ans = 0 +for i in range(len(s)): +    if s[i] == t[i]: +        ans += 1 +print(ans)