import java.util.Scanner

object Main {
  def main(args: Array[String]): Unit = {
    val sc = new Scanner(System.in)

    val N = sc.nextInt
    val p = List.fill(N)(sc.nextInt)
    println(p.sum - p.max / 2)
  }
}