


'use strict'

function Main(input) {

    input = input.split(/\n|\s/);
    let q = input[0].split(' ')
    q = Number(q[1])
    let tmp = input.shift()
    let recipe = input.map((v, x) => (~~v)).sort((v, x) => v - x) //  numberlize and min to max

    let sum = recipe.reduce((v, x) => v + x) //recipe.length個

    console.log(Math.floor((q - sum) / recipe[0]) + recipe.length);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
