fun main (args : Array<String>) {
	val n = readLine()
	val N : Int = n!!.toInt()
	var list : MutableList<Int> = mutableListOf()
	var result : Int = 0
	for (i in 0..N - 1) {
		val p = readLine()
		list.add(p!!.toInt())
	}
	list.sort()
	list[N - 1] = list[N - 1] / 2
	for (i in 0..N - 1) {
		result += list[i]
	}
	println("${result}")
}