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

a, b, c, x, y = list(map(int, input().split()))

ans = float('inf')



for i in range(200005):

    tmp = i * 2 * c

    tmp += max(0, x-i) * a

    tmp += max(0, y-i) * b

    ans = min(ans, tmp)



print(ans)

# optimized version of the same code:

a, b, c, x, y = list(map(int, input().split()))

ans = float('inf')



for i in range(100005):

    tmp = i * 2 * c

    tmp += max(0, x-i) * a

    tmp += max(0, y-i) * b

    ans = min(ans, tmp)



print(ans)
a, b, c, x, y = list(map(int, input().split()))
ans = float("inf")
for i in range(200005):
    tmp = i * 2 * c
    tmp += max(0, x - i) * a
    tmp += max(0, y - i) * b
    ans = min(ans, tmp)
print(ans)

a, b, c, x, y = list(map(int, input().split()))
ans = float("inf")
for i in range(100005):
    tmp = i * 2 * c
    tmp += max(0, x - i) * a
    tmp += max(0, y - i) * b
    ans = min(ans, tmp)
print(ans)

-for i in range(200005): +for i in range(100005):