object Main {
  def main(args:Array[String]):Unit= {
    val sc = new java.util.Scanner(System.in)
    val N = sc.nextInt
    val p = List.fill(N)(sc.nextInt).sortBy(-_)
    println ( p.head / 2 + p.tail.sum )
  }
}
