
# 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, K), *AB = [list(map(int, s.split())) for s in open(0)]

for a, b in sorted(AB):

    K -= b

    if K <= 0:

        print(a)

        break


# optimized version of the same code:

N, K, *AB = list(map(int, open(0).read().split()))

li = [(a, b) for a, b in zip(*[iter(AB)] * 2)]

li.sort()

for a, b in li:

    if K > b:

        K -= b

    else:

        print(a)

        break

(N, K), *AB = [list(map(int, s.split())) for s in open(0)]
for a, b in sorted(AB):
    K -= b
    if K <= 0:
        print(a)
        break

N, K, *AB = list(map(int, open(0).read().split()))
li = [(a, b) for a, b in zip(*[iter(AB)] * 2)]
li.sort()
for a, b in li:
    if K > b:
        K -= b
    else:
        print(a)
        break

-(N, K), *AB = [list(map(int, s.split())) for s in open(0)] -for a, b in sorted(AB): -    K -= b -    if K <= 0: +N, K, *AB = list(map(int, open(0).read().split())) +li = [(a, b) for a, b in zip(*[iter(AB)] * 2)] +li.sort() +for a, b in li: +    if K > b: +        K -= b +    else: