'use strict';
const main = input => {
  const n = parseInt(input[0], 10);
  input.shift();
  const p = input.map(val => parseInt(val, 10));
  p.pop();
  // console.log(n, p);
  p[p.indexOf(Math.max.apply(null, p))] /= 2;
  console.log(p.reduce((prev, current)  => prev + current));
  
  
}
main(require("fs").readFileSync("/dev/stdin", "utf8").split('\n'));