import java.util.Scanner

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

fun main(args: Array<String>) {
    val plist = mutableListOf<Int>()
    var maxValueIdx = 0
    var tmpMaxValue = 0
    for (i in 0 until n) {
        val p = sc.nextInt()
        if (p > tmpMaxValue) {
            maxValueIdx = i
            tmpMaxValue = p
        }
        plist.add(p)
    }
    var total = 0
    for (i in 0 until n) {
        if (maxValueIdx == i) {
            total += plist[i]/2
        } else {
            total += plist[i]
        }
    }
    println(total)
}