
# 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 = int(eval(input()))

p = 1

for i in range(N):

    p *= (i + 1)

    p %= (1e9 + 7)

print((int(p)))

# optimized version of the same code:

N = int(eval(input()))

p = 1

for i in range(N):

    p = p * (i + 1) % (1e9 + 7)

print((int(p)))
N = int(eval(input()))
p = 1
for i in range(N):
    p *= i + 1
    p %= 1e9 + 7
print((int(p)))

N = int(eval(input()))
p = 1
for i in range(N):
    p = p * (i + 1) % (1e9 + 7)
print((int(p)))

-    p *= i + 1 -    p %= 1e9 + 7 +    p = p * (i + 1) % (1e9 + 7)