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

ans = 0

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

    if len(str(i)) % 2 == 1:

        ans += 1

print(ans)

# optimized version of the same code:

N = int(eval(input()))

print((len(list([x for x in range(1, N + 1) if len(str(x)) % 2 == 1]))))
N = int(eval(input()))
ans = 0
for i in range(1, N + 1):
    if len(str(i)) % 2 == 1:
        ans += 1
print(ans)

N = int(eval(input()))
print((len(list([x for x in range(1, N + 1) if len(str(x)) % 2 == 1]))))

-ans = 0 -for i in range(1, N + 1): -    if len(str(i)) % 2 == 1: -        ans += 1 -print(ans) +print((len(list([x for x in range(1, N + 1) if len(str(x)) % 2 == 1]))))