I have a set of positive integers . Can you find two non-empty, distinct subsets with the same sum?
Note: A subset is a set that contains only elements from , and two subsets are distinct if they do not have exactly the same elements.
输入格式
he first line of the input gives the number of test cases, . test cases follow, one per line. Each test case begins with , the number of positive integers in . It is followed by distinct positive integers, all on the same line.
输出格式
For each test case, first output one line containing "Case #x:", where is the case number (starting from 1).
If there are two different subsets of that have the same sum, then output these subsets, one per line. Each line should contain the numbers in one subset, separated by spaces.
If it is impossible, then you should output the string "Impossible" on a single line.
If there are multiple ways of choosing two subsets with the same sum, any choice is acceptable.