fun main(args : Array<String>) {
    val N = readLine()!!.toInt()
    val p = mutableListOf<Int>()
    (1..N).forEach {
        val num = readLine()!!.toInt()
        p.add(num)
    }
    p.sort()
    p[N - 1] /=2

    println(p.sum())
}