#include <bits/stdc++.h>
using namespace std;

int main(){
  int n,p;
  int M = 0;
  int sum = 0;
  cin >> n;
  for (int i = 0;i < n;i++){
   cin >> p;
   M = max(M,p);
   sum += p;
  }
  cout << sum-M/2 << endl;
}