fun main(args: Array<String>) {
    val (N,X) = readLine()!!.split(" ").map { it.toInt() }
    val ms = (1..N).map { readLine()!!.toInt() }

    val ans = N + (X - ms.sum()) / ms.min()!!
    print(ans)
}