object Main extends App {
  val Array(n, x) = io.StdIn.readLine.split(" ").map(_.toInt)
  var costs: Array[Int] = new Array(n)
  for(i <- 0 until n) costs(i) = io.StdIn.readInt
  val sum = costs.sum
  val ans = n + (x-sum) / costs.min
  println(ans)
}
