i=input i() l=list(map(int,i().split())) m=max(l) print(sum([x//2 for x in l])+m-m//2)