# Enter your code here. Read input from STDIN. Print output to STDOUT
n = int(input())
for i in range(0,n):
    name = input().strip()
    print(name[::2],name[1::2])
845f1eddea3e1a00e59f0bc2bdf84ee78456f916
<mask token>

<mask token>
for i in range(0, n):
    name = input().strip()
    print(name[::2], name[1::2])

n = int(input())
for i in range(0, n):
    name = input().strip()
    print(name[::2], name[1::2])

# Enter your code here. Read input from STDIN. Print output to STDOUT
n = int(input())
for i in range(0,n):
    name = input().strip()
    print(name[::2],name[1::2])