let TestString = readLine()!

var i = 0
while i < TestString.count {
let ShiftOneTestString = TestString.index(TestString.startIndex, offsetBy: i)
let SecondCharacter = TestString[ShiftOneTestString]
    print(SecondCharacter, terminator: " ")
i += 2

}