program main
  implicit none
  integer :: i, n, x, m(1000), rem, add
  read(*, *) n, x
  m(:) = 0
  do i = 1, n
    read(*, *) m(i)
  end do
  rem = x - sum(m)
  add = rem / minval(m(1:n))
  write(*, "(i0)") n + add
end program main
