n = int(input()) x = list(map(int, input().split())) ans = 0 for y in x: ans += y // 2 m = max(x) print(ans - m // 2 + m)