let () =
let n, x = Scanf.scanf "%d %d\n" (fun a b -> a, b) in
let lst = Array.to_list (Array.init n (fun _ -> Scanf.scanf "%d\n" (fun x -> x))) in
let s = List.fold_left (+) 0 lst in
let m = List.fold_left min max_int lst in
let alpha = (x - s) / m in
Printf.printf "%d\n" (n+alpha)