import scala.io.StdIn._

object Main extends App {
  val Seq(n, x) = readLine().split(" ").map(_.toInt).toSeq
  val m         = (1 to n).map(_ => readInt())
  println((x - m.sum) / m.min + m.length)
}
