public static int[] is(int n) throws Exception {
   // int arr[] = new int[n+1];
   for (int i = 1; i <= n; i++) tempints[i] = in.nextInt();
   return tempints;
 }
 // *******************************I/O******************************//
 public static int i() throws Exception {
   // return Integer.parseInt(br.readLine().trim());
   return in.nextInt();
 }