program main
   implicit none
   integer N, X, countN, i
   integer, allocatable :: m(:)
   read(*, *) N, X
   allocate(m(1: N))
   do i = 1, N
       read(*, *) m(i)
   end do
   do i = 1, N
      X = X - m(i)
   end do
   countN = N
   countN = countN + X / minval(m(:))
   write(*, *) countN
end program main