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

l,r = list(map(int,input().split()))



if r - l > 2019:

    print((0))

else:

    tres = 2019

    for i in range(l,r):

        for j in range(i+1,r+1):

            mod = (i % 2019) * (j % 2019) % 2019

            tres = min(tres,mod)

    print(tres)


# optimized version of the same code:

l,r = list(map(int,input().split()))



if r - l > 2019:

    print((0))

else:

    tres = 2019

    for i in range(l,r):

        for j in range(i+1,r+1):

            mod = (i % 2019) * (j % 2019) % 2019

            tres = min(tres,mod)

            if tres == 0:

                break

        if tres == 0:

            break

    print(tres)

l, r = list(map(int, input().split()))
if r - l > 2019:
    print((0))
else:
    tres = 2019
    for i in range(l, r):
        for j in range(i + 1, r + 1):
            mod = (i % 2019) * (j % 2019) % 2019
            tres = min(tres, mod)
    print(tres)

l, r = list(map(int, input().split()))
if r - l > 2019:
    print((0))
else:
    tres = 2019
    for i in range(l, r):
        for j in range(i + 1, r + 1):
            mod = (i % 2019) * (j % 2019) % 2019
            tres = min(tres, mod)
            if tres == 0:
                break
        if tres == 0:
            break
    print(tres)

+            if tres == 0: +                break +        if tres == 0: +            break