function main(input) {
   input = input.split("\n").map(x => parseInt(x, 10));
   const N = input[0];
   input.shift();
   
   const highest = input.reduce((x,y) => Math.max(x,y) );
   const sum = input.reduce((x,y) => x+y);
   const answer = sum - ( highest/ 2 );
   
   console.log(answer);
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));