import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * * @author durec4 */ public class Most { StringTokenizer st = new StringTokenizer(" "); BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); boolean hasNextToken() throws IOException { while(!st.hasMoreTokens()){ String line = input.readLine(); if (line == null) return false; st = new StringTokenizer(line); } return true; } String nextToken() throws IOException { return (!hasNextToken())?null:st.nextToken(); } static int[] a; static int[] b; public static void main(String[] args) throws Exception{ Most instance = new Most(); final int testCases = Integer.parseInt(instance.nextToken()); for (int i = 0;i