import java.util.*

fun main(args: Array<String>) {
    val scanner = Scanner(System.`in`)
    val n = scanner.nextInt()
    val ps = ArrayList<Int>()
    for (i in 1..n) {
        ps.add(scanner.nextInt())
    }
    print(ps.sum() - ps.max()!!.div(2))
}