
# 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()))

a = 1

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

    a = a*n % (10**9+7)

print(a)

# optimized version of the same code:

def factorial(N):

    a = 1

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

        a = a*n % (10**9 + 7)

    return a



if __name__ == '__main__':

    N = int(eval(input()))

    print((factorial(N)))
N = int(eval(input()))
a = 1
for n in range(2, N + 1):
    a = a * n % (10**9 + 7)
print(a)

def factorial(N):
    a = 1
    for n in range(2, N + 1):
        a = a * n % (10**9 + 7)
    return a


if __name__ == "__main__":
    N = int(eval(input()))
    print((factorial(N)))

-N = int(eval(input())) -a = 1 -for n in range(2, N + 1): -    a = a * n % (10**9 + 7) -print(a) +def factorial(N): +    a = 1 +    for n in range(2, N + 1): +        a = a * n % (10**9 + 7) +    return a + + +if __name__ == "__main__": +    N = int(eval(input())) +    print((factorial(N)))