
# 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 = list(map(int,input().split()))

ans = [i for i in range(n)]

a1 = sorted(a)

for i in range(n):

    num = a[i]

    ans[num - 1] = str(i + 1)

    

print((' '.join(ans)))

# optimized version of the same code:

n = int(eval(input()))

# n,k = map(int,input().split())

a = list(map(int,input().split()))

ans = [0 for _ in range(n)]

for i in range(n):

  ans[a[i] - 1] = str(i + 1)

print((" ".join(ans)))
n = int(eval(input()))
a = list(map(int, input().split()))
ans = [i for i in range(n)]
a1 = sorted(a)
for i in range(n):
    num = a[i]
    ans[num - 1] = str(i + 1)
print((" ".join(ans)))

n = int(eval(input()))
# n,k = map(int,input().split())
a = list(map(int, input().split()))
ans = [0 for _ in range(n)]
for i in range(n):
    ans[a[i] - 1] = str(i + 1)
print((" ".join(ans)))

+# n,k = map(int,input().split()) -ans = [i for i in range(n)] -a1 = sorted(a) +ans = [0 for _ in range(n)] -    num = a[i] -    ans[num - 1] = str(i + 1) +    ans[a[i] - 1] = str(i + 1)