fun main(args: Array<String>) {
    val (N, X) = readLine()!!.split(" ").map(String::toInt)
    val m = Array(N) { readLine()!!.toInt() }
    val x = X - m.sum()
    println(x / m.min()!! + m.size)
}

