'use strict'

function Main(input) {
    const split_input = input.split("\n");
    const n = parseInt(split_input[0].split(' ')[0]);
    const x = split_input[0].split(' ')[1];
    const 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);

    console.log(n + Math.floor((x - sum) / min_price));
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));