program probB
  implicit none
  integer n,x,i,j,tmp,res,ans
  integer,allocatable :: m(:)

  read(*,*) n,x
  allocate(m(n))
  do i = 1,n
     read (*,*) m(i)
  end do

  ans = n
  res = x-sum(m)

  ans = ans + res/minval(m)

  write (*,*) ans

     
end program probB

