object Main extends App {
  import scala.io.StdIn.readLine;

  val n = readLine().toInt
  val inputs = new ListBuffer[Int]
  for (i <- 1 to n) {
    inputs += readLine().toInt
  }

  val aaa = inputs.sorted

  var res = 0;
  for (i <- 0 to n - 1) {
    var a = aaa(i)
    if (i == n -1)  a = aaa(i) / 2
    res = res + a
  }

  println(res)
}