
# 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=list(map(int,input().split()))

dic={}

for i in range(N):

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

  if a in dic:

    dic[a]+=b

  else:

    dic[a]=b

    

dic=sorted(list(dic.items()),key=lambda x:x[0])

for d in range(len(dic)):

  amount=dic[d][1]

  if amount>=K:

    print((dic[d][0]))

    exit(0)

  else:

    K-=amount

  

# optimized version of the same code:

import sys

readline = sys.stdin.readline



N,K = list(map(int,readline().split()))



AB = [list(map(int,readline().split())) for i in range(N)]



AB = sorted(AB, key = lambda x:x[0])

amount = 0

for a,b in AB:

  amount += b

  if amount >= K:

    print(a)

    break

N, K = list(map(int, input().split()))
dic = {}
for i in range(N):
    a, b = list(map(int, input().split()))
    if a in dic:
        dic[a] += b
    else:
        dic[a] = b
dic = sorted(list(dic.items()), key=lambda x: x[0])
for d in range(len(dic)):
    amount = dic[d][1]
    if amount >= K:
        print((dic[d][0]))
        exit(0)
    else:
        K -= amount

import sys

readline = sys.stdin.readline
N, K = list(map(int, readline().split()))
AB = [list(map(int, readline().split())) for i in range(N)]
AB = sorted(AB, key=lambda x: x[0])
amount = 0
for a, b in AB:
    amount += b
    if amount >= K:
        print(a)
        break

-N, K = list(map(int, input().split())) -dic = {} -for i in range(N): -    a, b = list(map(int, input().split())) -    if a in dic: -        dic[a] += b -    else: -        dic[a] = b -dic = sorted(list(dic.items()), key=lambda x: x[0]) -for d in range(len(dic)): -    amount = dic[d][1] +import sys + +readline = sys.stdin.readline +N, K = list(map(int, readline().split())) +AB = [list(map(int, readline().split())) for i in range(N)] +AB = sorted(AB, key=lambda x: x[0]) +amount = 0 +for a, b in AB: +    amount += b -        print((dic[d][0])) -        exit(0) -    else: -        K -= amount +        print(a) +        break