#include<bits/stdc++.h>
using namespace std;
signed main(){
  int a,b[1000000],c=0;
  cin>>a;
  for(int i=0;i<a;i++) cin>>b[i];
  sort(b,b+a,greater<int>());
  b[0]/=2;
  for(int i=0;i<a;i++) c+=b[i];
  cout<<c<<"\n";
}