program main
  implicit none
  
  integer :: n,x,m(100)=0,i,mi,nok,j,t
  
  read(*,*)n,x
  do i = 1, n
    read(*,*)m(i)
  end do
  nok = x - sum(m)
  
  do i=1,N-1
     do j=i+1,N
        if(m(i) .gt. m(j))then
           t=m(i)
           m(i)=m(j)
           m(j)=t
        end if
     end do
  end do
  
  mi = m(n)
  write(*,*)n+nok/mi
end program main