from math import floor N = int(input()) x = list(map(int, input().split())) m = max(x) mark = x.index(m) ans = 0 for i in range(N): if i == mark: ans += m else: ans += floor(x[i] / 2) print(ans)