import scala.io.StdIn._

object Main extends App {
  val n = readInt()

  require(2 <= n && n <= 10)

  var i   = 1
  val arr = (i to n).map(_ => readInt())
  val max = arr.max
  println((arr.sum - max) + max / 2)
}
