import scala.io.StdIn

object Main extends App {
  val Array(n, x) = StdIn.readLine().split(' ').map(_.toInt)
  var min = Int.MaxValue
  val sum = (0 until n).foldLeft(0){ (acc, _) => 
    val ig = StdIn.readLine().toInt
    min = if(ig <= min) ig else min
    acc + ig
  }
  
  println(n + ((x - sum) / min))
  
}