//var input = readline()
var n = parseInt(readline())
var num = (readline().split(' '))
var s = 0;
for( var i=0; i<n; i++){
    mx = Math.max(...num);
    s += parseInt(num[i]);
}
//print(mx+ ' ' +s)
var ans = s-mx;
print(ans+(mx/2));