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

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

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

a.append(a[0]+k)

longd=0

for i in range(n):

    tmp=abs(a[i+1]-a[i])

    longd=max(longd,tmp)

print((k-longd))

# optimized version of the same code:

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

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

a.append(a[0]+k)



x=0

for i in range(len(a)-1):

    dis=abs(a[i+1]-a[i])

    x=max(x,dis)



print((k-x))
k, n = list(map(int, input().split()))
a = list(map(int, input().split()))
a.append(a[0] + k)
longd = 0
for i in range(n):
    tmp = abs(a[i + 1] - a[i])
    longd = max(longd, tmp)
print((k - longd))

k, n = list(map(int, input().split()))
a = list(map(int, input().split()))
a.append(a[0] + k)
x = 0
for i in range(len(a) - 1):
    dis = abs(a[i + 1] - a[i])
    x = max(x, dis)
print((k - x))

-longd = 0 -for i in range(n): -    tmp = abs(a[i + 1] - a[i]) -    longd = max(longd, tmp) -print((k - longd)) +x = 0 +for i in range(len(a) - 1): +    dis = abs(a[i + 1] - a[i]) +    x = max(x, dis) +print((k - x))