function Main(input){
	str=input.split(/\n|\s/);
  	var num = [];
	str.forEach(function(str) {
        num.push(Number(str));
    });
	var arr = num.splice(2,num.length-1);
	for(var i = 0; i < input[0]; i=(i+1)|0) {
      num[1] -= arr[i];
    }
	arr.sort(ArraySortNumeric);
	function ArraySortNumeric(prev,next){
      return (prev-next);
    }

	console.log(num[0] + (num[1] / arr[0]|0));
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));