N = gets.to_i
p = Array.new
N.times do |i|
 p[i] = gets.to_i
end

max = 0
k = 0
for i in 0..(N-1)
 if max < p[i]
  max = p[i]
  k = i
 end
end

p.delete_at(k)
sum = 0
for i in 0..(N-2)
 sum = sum + p[i]
end

puts(sum+(max/2))