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

answer = 0

N = int(eval(input()))

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

for i in range(N) :

    while A[i] % 2 == 0 :

        A[i] = A[i] / 2

        answer += 1

print(answer)




# optimized version of the same code:

N = int(eval(input()))

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



ans = 0

for i in range(N) :

    flag = 0

    while flag == 0 :

        if (L[i] % 2) == 0 :

            ans += 1

            L[i] = L[i]//2

        else :

            flag = 1

print(ans)

answer = 0
N = int(eval(input()))
A = list(map(int, input().split()))
for i in range(N):
    while A[i] % 2 == 0:
        A[i] = A[i] / 2
        answer += 1
print(answer)

N = int(eval(input()))
L = list(map(int, input().split()))
ans = 0
for i in range(N):
    flag = 0
    while flag == 0:
        if (L[i] % 2) == 0:
            ans += 1
            L[i] = L[i] // 2
        else:
            flag = 1
print(ans)

-answer = 0 -A = list(map(int, input().split())) +L = list(map(int, input().split())) +ans = 0 -    while A[i] % 2 == 0: -        A[i] = A[i] / 2 -        answer += 1 -print(answer) +    flag = 0 +    while flag == 0: +        if (L[i] % 2) == 0: +            ans += 1 +            L[i] = L[i] // 2 +        else: +            flag = 1 +print(ans)