n=gets.to_i
prices=[]
n.times do
	prices << gets.to_i
end
i=0
j=0
biggest=100
while i < n do
	if biggest < prices[i] then
		biggest = prices[i] 
		j=i
	end
	i+=1
end
prices[j] /= 2
puts prices.inject(0) {|sum,x| sum + x }