import scala.io.StdIn
object Main extends App {
  val List(n, x) = StdIn.readLine().split(" ").map(_.toInt).toList
  val m = for {
    i <- 0 until n
    mi = StdIn.readLine()
  } yield mi.toInt

  println(n + (x - m.sum) / m.min)
}
