N = int(input()) X = tuple(map(int, input().split())) M = X.index(max(X)) ans = max(X) for i, x in enumerate(X): if i != M: ans += x // 2 print(ans)