fun main(args: Array<String>) {
    val N = readLine()!!.toInt();
    var p =  Array(N, {readLine()!!.toInt()})
    var max: Int = 0;
    var sum: Int = 0;

    for ( price in p ){ sum += price }
	for ( price in p ){ 
    	if( price > max ){
            max = price
        }
    }
    println(sum - max/2)
}