'use strict'

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

    let sum = 0
    p.forEach((v, i) => {
        if(i === 0){
            sum += v / 2
        }else{
            sum += v
        }
    })
    console.log(sum)
}

main(require('fs').readFileSync('/dev/stdin', 'utf-8'))