import scala.io.StdIn.readLine

object Main {

  def main(args: Array[String]): Unit = {

    val n: Int = readLine().toInt
    val ps: Vector[Int] = (1 to n).map(_ => readLine().toInt).toVector
    val ans = sum(ps) - max(ps) / 2
    println(ans)

  }

  def sum(v: Vector[Int]): Int =
    v.foldLeft(0)((ans, x) => ans + x)

  def max(v: Vector[Int]): Int =
    v.foldLeft(v(1))((ans, x) => ans max x)

}
