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

def factorial(N):

    power_r = 1

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

        power_r *= n

        power_r %= 10**9+7

    return power_r



if __name__ == '__main__':

    N = int(eval(input()))

    print((factorial(N)))

# optimized version of the same code:

def factorial(N):

    power_r = 1

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

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

    return power_r



if __name__ == '__main__':

    N = int(eval(input()))

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


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

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


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

-        power_r *= n -        power_r %= 10**9 + 7 +        power_r = power_r * n % (10**9 + 7)