N = int(eval(input()))

p = [int(eval(input())) for i in range(N)]

max_p = max(p)

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

    N = int(eval(input()))

    A = [int(eval(input())) for i in range(N)]

    A.sort()

    A[-1] //= 2

    print((sum(A)))





if __name__ == '__main__':

    main()

N = int(eval(input()))
p = [int(eval(input())) for i in range(N)]
max_p = max(p)
print((sum(p) - (max_p // 2)))

def main():
    N = int(eval(input()))
    A = [int(eval(input())) for i in range(N)]
    A.sort()
    A[-1] //= 2
    print((sum(A)))


if __name__ == "__main__":
    main()

-N = int(eval(input())) -p = [int(eval(input())) for i in range(N)] -max_p = max(p) -print((sum(p) - (max_p // 2))) +def main(): +    N = int(eval(input())) +    A = [int(eval(input())) for i in range(N)] +    A.sort() +    A[-1] //= 2 +    print((sum(A))) + + +if __name__ == "__main__": +    main()