Starlight Glimmer has a magic sequence $$$v_1,v_2,v_3,\dots,v_n$$$ of length $$$n$$$, she wants to find two different subsquence of it, which has the same sum.
Formally, find out sets $$$S_1=\{p_1,p_2,\dots,p_{|S_1|}\}$$$ and $$$S_2=\{q_1,q_2,\dots,q_{|S_2|}\}$$$ such that:
Note that the elements of a set are not repeatable.
There are multiple test cases. The first line contains an integer $$$T$$$ ($$$1\le T\le 5$$$) indicating the number of test cases, for each test case:
The first line contain an integers $$$n$$$ ($$$1\le n\le 10^5$$$) indicating the length of the sequence.
The second line contain $$$n$$$ integers $$$v_1, v_2, \ldots, v_n$$$ ($$$1\le v_i\le 2\times 10^7$$$), represents the magic sequence.
For each test case, if no set can be found that satisfies the above requirements, print a single "-1" (without quotes) on a line. Otherwise print two lines, each line prints a set in the following way:
First prints the size $$$k$$$ of the set, then prints $$$k$$$ integers representing the contents of the set, separated by spaces.
346 9 8 756 13 11 9 12724 23 106 20 11 17 22
2 4 3 2 2 1 -1 5 2 1 7 6 4 1 3
| Name |
|---|


