s = list(input())



for i in range(0, len(s), 2):

    print (s[i], end='')

print ()

import sys

# input = sys.stdin.readline

sys.setrecursionlimit(10 ** 9)

MOD = 10 ** 9 + 7



S = list(input())



print (*S[::2], sep = '')

s = list(input())
for i in range(0, len(s), 2):
    print(s[i], end="")
print()

import sys

# input = sys.stdin.readline
sys.setrecursionlimit(10**9)
MOD = 10**9 + 7
S = list(input())
print(*S[::2], sep="")

-s = list(input()) -for i in range(0, len(s), 2): -    print(s[i], end="") -print() +import sys + +# input = sys.stdin.readline +sys.setrecursionlimit(10**9) +MOD = 10**9 + 7 +S = list(input()) +print(*S[::2], sep="")