function Main(input) {
    const split_input = input.split("\n");
    const nx = split_input[0].split(' ');
    const n = nx[0];
    const x = nx[1];
    let prices = [];
    let sum = 0;
    for (let index = 1; n > prices.length; index++) {
        let price = parseInt(split_input[index]);
        prices.push(price);
        sum += price;
    }
    const min_price = prices.reduce((a, b) => a < b ? a : b);

    let count = n;
    while (x > sum + min_price) {
        sum += min_price;
        count++;
    }
    console.log(count);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));