function main(input) {
  const rows = input.split('\n');
  const n = parseInt(rows[0].split(' ')[0]);
  const x = parseInt(rows[0].split(' ')[1]);
  const mn = [];
  for (var i = 1; i <= n; i++) {
    mn.push(parseInt(rows[i]));
  }
  const min = Math.min(...mn);
  const sum = mn.reduce((prev, current) => prev + current);
  console.log(Math.floor((x - sum) / min) + n);
}

main(require('fs').readFileSync('/dev/stdin', 'utf8'));
