n = int(input()) x = tuple(map(int, input().split())) max_x = max(x) print(max_x + sum(a // 2 for a in x) - max_x // 2)