n = int(eval(input()))

p = list(int(eval(input())) for _ in range(n))

p.append(p.pop(p.index(max(p))) // 2)

print((sum(p)))
def answer(n: int, p: []) -> int:

    p.append(p.pop(p.index(max(p))) // 2)

    return sum(p)





def main():

    n = int(eval(input()))

    p = list(int(eval(input())) for _ in range(n))

    print((answer(n, p)))





if __name__ == '__main__':

    main()
n = int(eval(input()))
p = list(int(eval(input())) for _ in range(n))
p.append(p.pop(p.index(max(p))) // 2)
print((sum(p)))

def answer(n: int, p: []) -> int:
    p.append(p.pop(p.index(max(p))) // 2)
    return sum(p)


def main():
    n = int(eval(input()))
    p = list(int(eval(input())) for _ in range(n))
    print((answer(n, p)))


if __name__ == "__main__":
    main()

-n = int(eval(input())) -p = list(int(eval(input())) for _ in range(n)) -p.append(p.pop(p.index(max(p))) // 2) -print((sum(p))) +def answer(n: int, p: []) -> int: +    p.append(p.pop(p.index(max(p))) // 2) +    return sum(p) + + +def main(): +    n = int(eval(input())) +    p = list(int(eval(input())) for _ in range(n)) +    print((answer(n, p))) + + +if __name__ == "__main__": +    main()