function Main(s) {
  s = s.split("\n");
  s[0] = s[0].split(" ");
  const n = +s[0][0];
  const x = +s[0][1];
  var sum = 0;
  var min = 1e9;
  for(var i = 0; i < n; i++){
    sum += +s[i+1];
    min = Math.min(min, +s[i+1])
  }
  console.log(n + Math.floor((x - sum) / min));
}
Main(require("fs").readFileSync("/dev/stdin","utf8"));
