class Median {

   public static int min(List<List<Integer>> lists) {
      int min = Integer.MAX_VALUE;

      for (List<Integer> integerList : lists) {
         min = Math.min(min, Collections.min(integerList));
      }
      return min;
   }

}