<filename>ABC_B/ABC115_B.py
N = int(input())
P = []
for _ in range(N):
    P.append(int(input()))

print(sum(P)-max(P)+(max(P)//2))

<filename>ABC_B/ABC115_B.py
N = int(input())
P = []
for _ in range(N):
    P.append(int(input()))

print(sum(P)-max(P)+(max(P)//2))
