n = int(input()) android = [int(i) for i in input().split()] android.sort(reverse=True) synthesis = [android[i]//2 for i in range(n) if i != 0] print(android[0] + sum(synthesis))