let () = Scanf.scanf "%d %d\n" @@ fun n d -> let _ = Array.init n @@ fun _ -> Scanf.scanf "%d " @@ fun d -> d in let v = Array.init n @@ fun _ -> Scanf.scanf "%d " @@ fun d -> d in let sum = Array.fold_left (+) 0 v in Printf.printf "%d\n" (if d mod sum = 0 then d / sum else d / sum + 1)