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

mod = int(1e9+7)

n = int(eval(input()))



power = 1

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

    power = power * i % mod

print(power)

# optimized version of the same code:

import sys



MOD = 10 ** 9 + 7

n = int(sys.stdin.readline().rstrip())



def main():

    res = 1

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

        res *= i

        res %= MOD



    return res



if __name__ == '__main__':

    ans = main()

    print(ans)
mod = int(1e9 + 7)
n = int(eval(input()))
power = 1
for i in range(1, n + 1):
    power = power * i % mod
print(power)

import sys

MOD = 10**9 + 7
n = int(sys.stdin.readline().rstrip())


def main():
    res = 1
    for i in range(1, n + 1):
        res *= i
        res %= MOD
    return res


if __name__ == "__main__":
    ans = main()
    print(ans)

-mod = int(1e9 + 7) -n = int(eval(input())) -power = 1 -for i in range(1, n + 1): -    power = power * i % mod -print(power) +import sys + +MOD = 10**9 + 7 +n = int(sys.stdin.readline().rstrip()) + + +def main(): +    res = 1 +    for i in range(1, n + 1): +        res *= i +        res %= MOD +    return res + + +if __name__ == "__main__": +    ans = main() +    print(ans)