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

k, n = list(map(int, input().split()))

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



diff = []



for i in range(n - 1):

    diff.append(a[i + 1] - a[i])

diff.append(k - a[-1] + a[0])



print((k - max(diff)))


# optimized version of the same code:

k, n = list(map(int, input().split()))

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



a.append(k + a[0])

diff = [a1 - a0 for a0, a1 in zip(a, a[1:])]



print((k - max(diff)))

k, n = list(map(int, input().split()))
a = list(map(int, input().split()))
diff = []
for i in range(n - 1):
    diff.append(a[i + 1] - a[i])
diff.append(k - a[-1] + a[0])
print((k - max(diff)))

k, n = list(map(int, input().split()))
a = list(map(int, input().split()))
a.append(k + a[0])
diff = [a1 - a0 for a0, a1 in zip(a, a[1:])]
print((k - max(diff)))

-diff = [] -for i in range(n - 1): -    diff.append(a[i + 1] - a[i]) -diff.append(k - a[-1] + a[0]) +a.append(k + a[0]) +diff = [a1 - a0 for a0, a1 in zip(a, a[1:])]