import scala.io.StdIn.readLine

object Main extends App {

  val n = readLine.toInt

  val ps: List[Int] = (0 until n).map(_ => readLine.toInt).toList

  val sorted = ps.sorted.reverse
  val biggest = sorted.head
  val smalls = sorted.tail

  val result = biggest / 2 + smalls.sum

  println(result)


}