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

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

S = list(eval(input()) for i in range(N))

str = ""

for i in range(N-1):

    for j in range(N-1):

        if S[j+1] + S[j] <= S[j] + S[j+1]:

            S[j], S[j+1] = S[j+1], S[j]

for i in S:

    str += i

print(str)


# optimized version of the same code:

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

S = list(eval(input()) for i in range(N))

S.sort()

str = ""

for i in S:

    str += i

print(str)

N, L = list(map(int, input().split()))
S = list(eval(input()) for i in range(N))
str = ""
for i in range(N - 1):
    for j in range(N - 1):
        if S[j + 1] + S[j] <= S[j] + S[j + 1]:
            S[j], S[j + 1] = S[j + 1], S[j]
for i in S:
    str += i
print(str)

N, L = list(map(int, input().split()))
S = list(eval(input()) for i in range(N))
S.sort()
str = ""
for i in S:
    str += i
print(str)

+S.sort() -for i in range(N - 1): -    for j in range(N - 1): -        if S[j + 1] + S[j] <= S[j] + S[j + 1]: -            S[j], S[j + 1] = S[j + 1], S[j]