'use strict'

function main(input) {
  input = input.split('\n').map(v => ~~v)
  const n = input[0]
  const price = input.slice(1, -1).sort((a, b) => b - a)

  price[0] = price[0] / 2
  const ans = price.reduce((a, b) => a + b)
  console.log(ans)
}

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