let () = Scanf.scanf "%d %d\n" @@ fun n x ->
  let ms = Array.init n @@ fun _ ->
    Scanf.scanf "%d\n" @@ fun m -> m in
  Printf.printf "%d\n" @@ n + (x - Array.fold_left ( + ) 0 ms) / Array.fold_left min max_int ms
