'use strict'

const main = input => {
	const args = input.trim().split('\n').map(t1 => t1.split(' ').map(t2 => parseInt(t2, 10)))
	const N = args[0][0]
	let X = args[0][1]
	const m = []
	let cnt = 0
	let minM = 1000

	for (let i = 1; i < args.length; i++) {
		m.push(args[i][0])
	}

	for (let i = 0; i < m.length; i++) {
		minM = Math.min(minM, m[i])
		X -= m[i]
		cnt++
	}

	cnt += Math.floor(X / minM)
	console.log(cnt)
}

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