n=int(input()) a=list(map(int,input().split())) num=max(a) sum=0 for i in range(n): sum+=int(a[i]/2) sum-=int(num/2) ans=num+sum print(ans)