import Foundation
func toTuple<T>(_ args: [T]) -> (T, T) { (args[0], args[1]) }
func readInts() -> [Int] { readLine()!.split(separator: " ").map { Int($0)! } }

var (n, x) = toTuple(readInts())
var mi: [Int] = []
var ans = 0
for _ in 0..<n { mi.append(Int(readLine()!)!) }
let sum = mi.reduce(0) { $0 + $1 }
x -= sum
ans += n + (x / mi.min()!)
print(ans)