Array.prototype.min = function () {
  return Math.min.apply(null, this);
};

function Main(input) {
  var array = input.split('\n');
  var firstLine = array[0].split(' ');
  var N = parseInt(firstLine[0]);
  var X = parseInt(firstLine[1]);

  var gramList = [];
  for (var index = 1; index < array.length; index++) {
    gramList.push(parseInt(array[index]));
  }

  var everyDonut = gramList.reduce(function(sum, gram){
    return sum += gram;
  }, 0);

  var remained = X - everyDonut;
  var minDonutGram = gramList.min();

  var result = gramList.length + Math.floor(remained / minDonutGram);

  return result;
}
//*この行以降は編集しないでください（標準入出力から一度に読み込み、Mainを呼び出します）
console.log(Main(require("fs").readFileSync("/dev/stdin", "utf8")));