Print one line per test case, in input order.
If exactly one candidate has the highest count, print majority winner R when that count is more than half of all votes cast in the test case, and minority winner R when it is half or less. R is the number of that candidate, and candidates are numbered 1 to n within each test case. If two or more candidates share the highest count, print no winner.