
import java.util.Scanner

object Main extends App {
  val sc = new Scanner(System.in)
  def next(): String = sc.next()
  def nextInt(): Int = next().toInt
  def nextLong(): Long = next().toLong

  def task(): Unit = {
    val n = nextInt()
    val ps = Seq.fill(n)(nextInt())
    val max = ps.max
    println(ps.sum - max + max / 2)
  }

  task()
}
