import java.util.*

fun main(args : Array<String>) {
    println(inOutExec(Scanner(System.`in`)))
}

fun inOutExec(scanner: Scanner): String {
    val num = scanner.nextInt()
    val prises = IntArray(num)
    var maxIndex = 0
    repeat(num) {
        val prise = scanner.nextInt()
        prises[it] = prise
        if (prise > prises[maxIndex]) {
            maxIndex = it
        }
    }

    prises[maxIndex] = (prises[maxIndex] / 2)

    return prises.reduce { s1, s2 -> s1 + s2 }.toString()
}