'use strict'
 
function main(s) {
 
  s = s.split('\n');
  const n = Number(s[0].split(' ')[0]);
  const x = Number(s[0].split(' ')[1]);
  const donuts = s.slice(1, -1).map(el => Number(el));
 
  donuts.sort((a, b) => a - b);
  const sum = donuts.reduce((a, b) => a + b);
  const ans = Math.floor((x - sum) / donuts[0]) + donuts.length;
 
  console.log(ans);
}
 
main(require("fs").readFileSync("/dev/stdin", "utf8"));