function main (input) {
	var input = input.split('\n');
    var input1 = input[0].split(' ');
    N = parseInt(input1[0], 10);
	var X = parseInt(input1[1], 10);
    var m =[];
	for (var i = 0; i < input.length - 1; i++) {
	    m.push(parseInt(input[i + 1], 10));
	}
	var count = N;
	m.forEach(function(elm) {
        X -= elm;
    });
	var min = Math.min.apply(1e9, m);
	count = count + Math.floor(X / min);
	console.log(count);
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));