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