let a = readLine()!.split(separator: " ").map({Int($0)!})
var arr = [Int]()
let N = a[0]
let X = a[1]

for i in 0 ..< N {
    arr.append(Int(readLine()!)!)
}
var sum = arr.reduce(0, +)
var min = arr.min() ?? 0
print((X - sum)/min+N)