open System
open System.Collections.Generic

let ReadOne T = stdin.ReadLine()|> T
let ReadSplit T = stdin.ReadLine().Split()|>Array.map T
[<EntryPoint>]
let main argv =
    let N,X=stdin.ReadLine().Split()|>fun c -> int c.[0],int c.[1]
    let m=[|for i in [0..N-1] do yield ReadOne int|]
    let r=Array.min m
    N+((X-(Array.sum m))/r)
    |>stdout.WriteLine
    0
