You are given a binary string $$$s$$$ of length $$$n$$$. You can perform the following operation on the string:
You can perform the operation any number of times, but each index can be chosen by at most one operation.
Your task is to make all bits present in the string $$$s$$$ equal $$$0$$$, or report that it is impossible to do so. You don't have to minimize the number of operations.
Each test contains multiple test cases. The first line contains the number of test cases $$$t$$$ ($$$1 \le t \le 10^4$$$). The description of the test cases follows.
The first line of each test case contains a single integer $$$n$$$ ($$$1 \le n \le 2 \cdot 10^5$$$).
The second line of each test case contains the binary string $$$s$$$ of length $$$n$$$.
It is guaranteed that the sum of $$$n$$$ over all test cases does not exceed $$$2 \cdot 10^5$$$.
For each test case, output $$$-1$$$ if it is impossible to transform all bits to $$$0$$$. Otherwise, output two lines in the following format:
If there are multiple possible solutions, you may output any.
4310131004000041010
12-1021 3
In the first test case, performing the operation on index $$$2$$$ means flipping bits present at index $$$1$$$ and $$$3$$$. So the new string formed will be $$$000$$$.
In the second test case, it can be shown that we cannot make string $$$a$$$ equal to $$$000$$$ using the described operations.