object Main extends App {
	val Array(n, x) = scala.io.StdIn.readLine.split(" ").map(_.toInt)
	val a = new Array[Int](n)
	for(i <- 0 until n){
		a(i) = scala.io.StdIn.readInt
	}

	val tp = a.sum
	println(n + (x - tp)/a.min)
}
