t =int(input())
for i in range(t):
    s = input()
    s = list(s)
    if len(s) %2 == 0
        h = s[len(s)//2]
        l = s[len(s)//2 +1]
        while h == 0:
            if h == s:

    else:
        h = s[len(s//2)]
