import itertools

import math

import fractions

import functools

import copy



n = int(eval(input()))

p = []

for i in range(n):

    p.append(int(eval(input())))



print((sum(p)-max(p)//2))
def main():

    n = int(eval(input()))

    # t, a = map(int, input().split())

    # h = list(map(int, input().split()))

    # s = input()



    p = []

    for i in range(n):

        p.append(int(eval(input())))

    

    maxi = max(p)

    print((sum(p) - maxi//2))







if __name__ == '__main__':

    main()

import itertools
import math
import fractions
import functools
import copy

n = int(eval(input()))
p = []
for i in range(n):
    p.append(int(eval(input())))
print((sum(p) - max(p) // 2))

def main():
    n = int(eval(input()))
    # t, a = map(int, input().split())
    # h = list(map(int, input().split()))
    # s = input()
    p = []
    for i in range(n):
        p.append(int(eval(input())))
    maxi = max(p)
    print((sum(p) - maxi // 2))


if __name__ == "__main__":
    main()

-import itertools -import math -import fractions -import functools -import copy +def main(): +    n = int(eval(input())) +    # t, a = map(int, input().split()) +    # h = list(map(int, input().split())) +    # s = input() +    p = [] +    for i in range(n): +        p.append(int(eval(input()))) +    maxi = max(p) +    print((sum(p) - maxi // 2)) -n = int(eval(input())) -p = [] -for i in range(n): -    p.append(int(eval(input()))) -print((sum(p) - max(p) // 2)) + +if __name__ == "__main__": +    main()