
# 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 n in range(eval(input())):

  a,b,c=sorted(map(int,input().split()))

  s="YES" if a*a+b*b==c*c else "NO"

  print(s)

# optimized version of the same code:

for n in range(eval(input())):

  a,b,c=sorted(map(int,input().split()))

  print("YES" if a*a + b*b == c*c else "NO")
for n in range(eval(input())):
    a, b, c = sorted(map(int, input().split()))
    s = "YES" if a * a + b * b == c * c else "NO"
    print(s)

for n in range(eval(input())):
    a, b, c = sorted(map(int, input().split()))
    print("YES" if a * a + b * b == c * c else "NO")

-    s = "YES" if a * a + b * b == c * c else "NO" -    print(s) +    print("YES" if a * a + b * b == c * c else "NO")