function Main(input) {
    var sp = input.split('\n');
    var upper = sp[0].split(' ');
    var N = parseInt(upper[0], 10);
    var X = parseInt(upper[1], 10);
    var m = sp.slice(1).map(v => parseInt(v, 10));

    m = m.sort((a, b) => a-b);

    console.log(N + parseInt((X-m.reduce((sum, v) => sum += v, 0))/m[0], 10));
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));