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