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.
s = input()
t = ""
for i in range(len(s)//2):
  t += s[2*i]
print(t)
s = input()
t = ""
for i in range((len(s)+1)//2):
  t += s[2*i]
print(t)