{-# OPTIONS_GHC -O2 -funbox-strict-fields #-}
import qualified Data.ByteString.Char8 as BC
import           Data.Maybe            (fromJust)

main :: IO ()
main = do
  [n, x] <- map readInt . BC.words <$> BC.getLine
  ms <- map readInt . BC.lines <$> BC.getContents
  print $ solve n x ms

solve :: Int -> Int -> [Int] -> Int
solve n x ms = n + ((x - s) `div` m)
  where s = sum ms
        m = minimum ms

readInt :: BC.ByteString -> Int
readInt = fst . fromJust . BC.readInt
