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

input = sys.stdin.readline

read = sys.stdin.read



n = int(eval(input()))

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

L = sorted([(j, i) for i, j in enumerate(A)])

count = 0

for i in range(n):

  if (L[i][1]-i)%2:

    count += 1

ans = (count+1) // 2

print(ans)

# optimized version of the same code:

import sys

input = sys.stdin.readline

read = sys.stdin.read



n = int(eval(input()))

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

L = sorted([(j, i) for i, j in enumerate(A)])

count = 0

for i in range(n):

  count += (L[i][1]-i)%2

ans = (count+1) // 2

print(ans)

import sys

input = sys.stdin.readline
read = sys.stdin.read
n = int(eval(input()))
A = list(map(int, read().split()))
L = sorted([(j, i) for i, j in enumerate(A)])
count = 0
for i in range(n):
    if (L[i][1] - i) % 2:
        count += 1
ans = (count + 1) // 2
print(ans)

import sys

input = sys.stdin.readline
read = sys.stdin.read
n = int(eval(input()))
A = list(map(int, read().split()))
L = sorted([(j, i) for i, j in enumerate(A)])
count = 0
for i in range(n):
    count += (L[i][1] - i) % 2
ans = (count + 1) // 2
print(ans)

-    if (L[i][1] - i) % 2: -        count += 1 +    count += (L[i][1] - i) % 2