S = eval(input())

ans = ''

for i,s in enumerate(S):

  if i%2==0:

    ans += s

print(ans)
def solve():

    S = eval(input())

    ans = S[0::2]

    

    return ans

print((solve()))
S = eval(input())
ans = ""
for i, s in enumerate(S):
    if i % 2 == 0:
        ans += s
print(ans)

def solve():
    S = eval(input())
    ans = S[0::2]
    return ans


print((solve()))

-S = eval(input()) -ans = "" -for i, s in enumerate(S): -    if i % 2 == 0: -        ans += s -print(ans) +def solve(): +    S = eval(input()) +    ans = S[0::2] +    return ans + + +print((solve()))