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

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

if array[0] % array[1] > 0:

    print(((array[0] // array[1] + 1) * array[2]))

else:

    print(((array[0] // array[1]) * array[2]))

# optimized version of the same code:

n, x, t = list(map(int, input().split()))



print((0--n//x*t))
array = list(map(int, input().split()))
if array[0] % array[1] > 0:
    print(((array[0] // array[1] + 1) * array[2]))
else:
    print(((array[0] // array[1]) * array[2]))

n, x, t = list(map(int, input().split()))
print((0 - -n // x * t))

-array = list(map(int, input().split())) -if array[0] % array[1] > 0: -    print(((array[0] // array[1] + 1) * array[2])) -else: -    print(((array[0] // array[1]) * array[2])) +n, x, t = list(map(int, input().split())) +print((0 - -n // x * t))