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

n=int(n)

a=1

for i in range(n):

    a=a*(i+1)

    if a>=pow(10,9)+7:

        a=a%(pow(10,9)+7)

print(a)

# optimized version of the same code:

n=int(eval(input()))

a=1

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

    a*=i

    a %= (10**9+7)

print(a)
n = eval(input())
n = int(n)
a = 1
for i in range(n):
    a = a * (i + 1)
    if a >= pow(10, 9) + 7:
        a = a % (pow(10, 9) + 7)
print(a)

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

-n = eval(input()) -n = int(n) +n = int(eval(input())) -for i in range(n): -    a = a * (i + 1) -    if a >= pow(10, 9) + 7: -        a = a % (pow(10, 9) + 7) +for i in range(1, n + 1): +    a *= i +    a %= 10**9 + 7