N = int(input()) x = map(int, input().split()) x = sorted(x) a = x[-1] x = [i // 2 for i in x[:-1]] print(a + sum(x))