let () = Scanf.scanf "%d\n%d %d\n" @@ fun n d x ->
  let as_ = Array.init n @@ fun _ -> Scanf.scanf "%d\n" @@ fun a -> a in
  Array.map (fun a -> 1 + (d - 1) / a) as_
  |> Array.fold_left ( + ) x
  |> Printf.printf "%d\n"

