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

for i in range(0, int(eval(input()))):

    sidelen = [int(j) for j in input().split(" ")]

    sidelen.sort(reverse=True)

    if(sidelen[0]**2 == sidelen[1]**2 + sidelen[2]**2):

        print("YES")

    else:

        print("NO")

# optimized version of the same code:

import sys

for i in sys.stdin:

    try:

        sidelen = [int(j) for j in i.split(" ")]

        sidelen.sort(reverse=True)

        if(sidelen[0]**2 == sidelen[1]**2 + sidelen[2]**2):

            print("YES")

        else:

            print("NO")

    except:

        continue
for i in range(0, int(eval(input()))):
    sidelen = [int(j) for j in input().split(" ")]
    sidelen.sort(reverse=True)
    if sidelen[0] ** 2 == sidelen[1] ** 2 + sidelen[2] ** 2:
        print("YES")
    else:
        print("NO")

import sys

for i in sys.stdin:
    try:
        sidelen = [int(j) for j in i.split(" ")]
        sidelen.sort(reverse=True)
        if sidelen[0] ** 2 == sidelen[1] ** 2 + sidelen[2] ** 2:
            print("YES")
        else:
            print("NO")
    except:
        continue

-for i in range(0, int(eval(input()))): -    sidelen = [int(j) for j in input().split(" ")] -    sidelen.sort(reverse=True) -    if sidelen[0] ** 2 == sidelen[1] ** 2 + sidelen[2] ** 2: -        print("YES") -    else: -        print("NO") +import sys + +for i in sys.stdin: +    try: +        sidelen = [int(j) for j in i.split(" ")] +        sidelen.sort(reverse=True) +        if sidelen[0] ** 2 == sidelen[1] ** 2 + sidelen[2] ** 2: +            print("YES") +        else: +            print("NO") +    except: +        continue