object Main {
  val sc = new java.util.Scanner(System.in)

  def sin(n: Int): Seq[Int] = Seq.fill(n)(sc.nextInt())

  def main(args: Array[String]): Unit = {
    val n = sc.nextInt()
    val p = sin(n)
    println(p.sum - p.max / 2)
  }
}