• + 3 comments

    for i in range(int(input())):s=input();print(s[::2],s[1::2])