import java.util.*

fun main(args: Array<String>) {
    val sc = Scanner(System.`in`)
    val n = sc.nextInt()
    val x = sc.nextInt()
    val m = (0 until n).map { sc.next().toInt() }
    println(problem090c(n, x, m))
}

fun problem090c(n: Int, x: Int, m: List<Int>): Int {
    val sum = m.sum()
    return n + ((x - sum) / m.min()!!)
}