• + 0 comments

    def even_odd(s): print(f"{s[0::2]} {s[1::2]}")

    if name == 'main':

    n = int(input())
    for i in range(n):
        s =input()
        even_odd(s)