input() X=sorted(map(int,input().split())) print(X.pop()+sum([x//2 for x in X]))