program main
  implicit none
  
  integer :: n, p,i,j,t,s = 0,sm = 20000
  read(*,*)n
  do i = 1, n
    read(*,*)p
    if (p < sm) then
      sm = p
    end if
    s = s + p
  end do
  write(*,*)s-sm/2
end program main