
# 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()))



ans =[]

if R - L <= 2019:

    for i in range(L,R+1):

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

            ans.append(i*j%2019)



else:

    for i in range(R-L-1010,R-L+1010):

        for j in range(i,R-L+1010):

            ans.append(i*j%2019)



print((min(ans)))


# optimized version of the same code:

L ,R = list(map(int,input().split()))



ans =[]

for i in range(L,R+1):

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

        ans.append(i*j%2019)

        if (i * j % 2019) == 0:

            break

    else:

        continue

    break



print((min(ans)))
L, R = list(map(int, input().split()))
ans = []
if R - L <= 2019:
    for i in range(L, R + 1):
        for j in range(i + 1, R + 1):
            ans.append(i * j % 2019)
else:
    for i in range(R - L - 1010, R - L + 1010):
        for j in range(i, R - L + 1010):
            ans.append(i * j % 2019)
print((min(ans)))

L, R = list(map(int, input().split()))
ans = []
for i in range(L, R + 1):
    for j in range(i + 1, R + 1):
        ans.append(i * j % 2019)
        if (i * j % 2019) == 0:
            break
    else:
        continue
    break
print((min(ans)))

-if R - L <= 2019: -    for i in range(L, R + 1): -        for j in range(i + 1, R + 1): -            ans.append(i * j % 2019) -else: -    for i in range(R - L - 1010, R - L + 1010): -        for j in range(i, R - L + 1010): -            ans.append(i * j % 2019) +for i in range(L, R + 1): +    for j in range(i + 1, R + 1): +        ans.append(i * j % 2019) +        if (i * j % 2019) == 0: +            break +    else: +        continue +    break