'use strict'

const main = (INPUT) => {
  const tmp = INPUT.split('\n').map(n => Number(n))
  tmp.shift()
  let input = tmp.sort((a, b) => b - a)
  let ans = 0;
  for (let i = 0; i < input.length; i++) {
    if (i == 0) {
      ans += input[i] / 2
    } else {
      ans += input[i]
    }
  }
  console.log(ans);
}

main(require('fs').readFileSync('/dev/stdin', 'utf8'))
