fun main(args: Array<String>){
    val num = Integer.parseInt(readLine())
    var maxVal = 0
    var sumVal = 0
    for(i in 1..num){
        val input = Integer.parseInt(readLine())
        if(input > maxVal) maxVal = input
        sumVal += input
    }
    println(sumVal - maxVal / 2)
}