//--------------------------INPUT READER---------------------------------// staticclassFastIO{ public BufferedReader br; StringTokenizer st = new StringTokenizer("");
publicFastIO(){ this(System.in); } publicFastIO(InputStream is){ br = new BufferedReader(new InputStreamReader(is)); } String next(){ while (!st.hasMoreTokens()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); }