var t: String? = readLine()
var t2: String = t!
var n = Int(t2)!

var maxi = Int.min
var ans = 0
for _ in 0..<n{
    var u: String? = readLine()
    var u2: String = u!
    var p = Int(u2)!
    maxi = max(maxi, p)
    ans += p
}

ans -= maxi / 2
print(ans)