
# 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(2 * 10**5 + 1):

    ans = min(ans, a * max(x - i, 0) + b * max(y - i, 0) + 2 * c * i)



print(ans)

# optimized version of the same code:

A,B,C,X,Y = list(map(int,input().split()))

min_xy = min(X,Y)

max_xy = max(X,Y)

ans1 = 2 * C * min_xy + A * (X-min_xy) + B * (Y-min_xy) # 無駄にならない範囲でABピザを買い、残りを買う

ans2 = A*X + B*Y # ABピザを買わない

ans3 = 2 * C * max_xy # ABピザだけを買う

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

A, B, C, X, Y = list(map(int, input().split()))
min_xy = min(X, Y)
max_xy = max(X, Y)
ans1 = 2 * C * min_xy + A * (X - min_xy) + B * (Y - min_xy)  # 無駄にならない範囲でABピザを買い、残りを買う
ans2 = A * X + B * Y  # ABピザを買わない
ans3 = 2 * C * max_xy  # ABピザだけを買う
print((min(ans1, ans2, ans3)))

-a, b, c, x, y = list(map(int, input().split())) -ans = float("inf") -for i in range(2 * 10**5 + 1): -    ans = min(ans, a * max(x - i, 0) + b * max(y - i, 0) + 2 * c * i) -print(ans) +A, B, C, X, Y = list(map(int, input().split())) +min_xy = min(X, Y) +max_xy = max(X, Y) +ans1 = 2 * C * min_xy + A * (X - min_xy) + B * (Y - min_xy)  # 無駄にならない範囲でABピザを買い、残りを買う +ans2 = A * X + B * Y  # ABピザを買わない +ans3 = 2 * C * max_xy  # ABピザだけを買う +print((min(ans1, ans2, ans3)))