N=int(input())
X=list(map(int,input().split()))

M=max(X)
X.remove(M)

S=M
for x in X:
    S+=(x//2)
print(S)