import java.util.Scanner

val sc = Scanner(System.`in`)
val n = sc.nextInt()

fun main(args: Array<String>) {
    val plist = mutableListOf<Int>()
    for (i in 0 until n) {
        plist.add(sc.nextInt())
    }
    println(plist.sum() - plist.max()!!/2)
}
