"use strict";
function main(arg) {
    const inputs = arg.split("\n")
    const N = parseInt(inputs[0])
    const list = inputs.slice(1,N+1).map((x)=>parseInt(x))
    const max = Math.max(...list)
    let i, sum = 0;
    for(i=0; i<N; i++){
        sum += Number(list[i])
    }
    console.log(sum - max / 2)
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));