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

a,b=2,1

for i in[0]*int(eval(input())):a,b=b,a+b

print(a)

# optimized version of the same code:

a,b=2,1

for i in[0]*eval(input()):a,b=b,a+b

print(a)
a, b = 2, 1
for i in [0] * int(eval(input())):
    a, b = b, a + b
print(a)

a, b = 2, 1
for i in [0] * eval(input()):
    a, b = b, a + b
print(a)

-for i in [0] * int(eval(input())): +for i in [0] * eval(input()):