local n = tonumber(io.read())
local p = {}
local maxp = 0
local sum = 0
for i=1,n,1 do
  p[i] = tonumber(io.read())
  sum = sum + p[i]
  if p[i]>maxp then
    maxp = p[i]
  end
end
print(sum-maxp//2)

