import scala.io.StdIn._

object Main extends App {
  val Array(n, x) = readLine().split(' ').map(_.toInt)
  val ms = for {
    _ <- 0 until n
  } yield readInt()

  val s = ms.sum
  val r = x - s
  println(r / ms.min + ms.length)
}
