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

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

print((b if 13<=a else b//2 if 6<=a else 0))

# optimized version of the same code:

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

print((b if 12<a else b//2 if 5<a else 0))
a, b = list(map(int, input().split()))
print((b if 13 <= a else b // 2 if 6 <= a else 0))

a, b = list(map(int, input().split()))
print((b if 12 < a else b // 2 if 5 < a else 0))

-print((b if 13 <= a else b // 2 if 6 <= a else 0)) +print((b if 12 < a else b // 2 if 5 < a else 0))