#include <iostream>
using namespace std;
int main(){
    int n,p;
    cin>>n;
    int m=0;
    int total=0;
    for(int i=0;i<n;i++){
        cin>>p;
        total+=p;
        if(p>m) m=p;
    }
    total-=(m/2);
    cout<<total<<endl;
}