s=require("fs").readFileSync("/dev/stdin","utf8").split('\n')
console.log(
	[...Array(s[0] | 0)]
	.map((_, i) => s[i + 1] | 0)
	.sort((a, b) => b - a)
	.map((n, i) => !i ? n / 2 : n)
	.reduce((c, n) => c + n)
)