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

int main() {
  int n; cin >> n;
  int a = 0, b = 0;
  for (int i = 1; i <= n; i++) {
    int t; cin >> t;
    a += t;
    b = max(b, t);
  }
  a -= b / 2;
  cout << a << endl;
}