function Main(input){
    input = input.split("\n");
    var nx = input[0].split(" ");
    var m = input.slice(1);
    var sum = 0;
    var min = Infinity;
    
    for(var i = 0; i < m.length; i++){
		m[i] = parseInt(m[i]);
        if(m[i] < min) min = m[i];
        sum += m[i];
    }
    
    console.log(m.length + Math.floor((nx[1] - sum) / min));
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));