#include<bits/stdc++.h>

using namespace std;
int a;
vector<int> yoyo;
int main(){
  int a;
  cin>>a;
  for(int i=0;i<a;i++){
    int b;
    cin>>b;
    yoyo.push_back(b);
  }
  sort(yoyo.begin(),yoyo.end());
  int count=0;
  for(int i=0;i<a;i++){
    if(i!=a-1)count+=yoyo[i];
    else count+=yoyo[i]/2;
  }
  cout<<count<<endl;
}