import scala.io.StdIn._

object Main extends App {
  val Array(n, x) = readLine().split(' ').map(_.toInt)
  val ms = (1 to n).map { _ =>
    readInt()
  }.toSeq
  
  val remain = x - ms.sum
  val availableCount = remain / ms.min
  println(n + availableCount)
}