N = int(input())
X = list(map(int,input().split()))
X.sort()
ans = sum(x//2 for x in X[:-1]) + X[-1]
print(ans)