You are given a string s consisting of lowercase English letters. Extract all the characters in the odd-indexed positions and print the string obtained by concatenating them. Here, the leftmost character is assigned the index 1.
A = list(input())
N = len(A)
Ans = [A[0]]
for i in range(2, N-1, 2):
    Ans.append(A[i])
print("".join(Ans))
A = list(input())
N = len(A)
Ans = []
for i in range(0, N, 2):
    Ans.append(A[i])
print("".join(Ans))