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

import math

n=int(eval(input()))

print((math.factorial(n)%(10**9+7)))

# optimized version of the same code:

N=int(eval(input()))

def fact(n):

    val=1

    for i in range(2,n+1):

        val*=i

        val%=1000000007

    return val

print((fact(N)))
import math

n = int(eval(input()))
print((math.factorial(n) % (10**9 + 7)))

N = int(eval(input()))


def fact(n):
    val = 1
    for i in range(2, n + 1):
        val *= i
        val %= 1000000007
    return val


print((fact(N)))

-import math +N = int(eval(input())) -n = int(eval(input())) -print((math.factorial(n) % (10**9 + 7))) + +def fact(n): +    val = 1 +    for i in range(2, n + 1): +        val *= i +        val %= 1000000007 +    return val + + +print((fact(N)))