fun main(args: Array<String>) {
    val firstArgs = readLine()!!.split(" ").map { it.toInt() }
    val n = firstArgs[0]
    val x = firstArgs[1]

    val m = IntArray(n)
    for (i in 0 until n) {
        m[i] = readLine()!!.toInt()
    }

    val total = m.sum()
    val min = m.min()!!

    val add = if ((x - total) > 0 ) {
        (x - total) / min
    } else {
        0
    }

    print(n + add)
}