static int min(List<int> lists) { return lists.fold( lists.first, (previousValue, element) => math.min(previousValue, element), ); }