const memo = {}

const main = stdin => {
  const input = stdin.trim().split('\n')
  const [N, K] = input[0].split(' ').map(x => parseInt(x))

  const ms = []
  for (let i = 0; i < N; i++) {
    ms.push(parseInt(input[i + 1]))
  }

  let sum = K
  ms.map(m => sum -= m)

  console.log(N + Math.floor(sum / Math.min(...ms)))
}


// 標準入力
main(require("fs").readFileSync("/dev/stdin", "utf8"))
