#include <bits/stdc++.h>

using namespace std;

int p[100005];

int main(){
	int n;
	cin >> n;
	int sum = 0;
	for(int i=0;i<n;i++){
		cin >> p[i];
		sum += p[i];
	}
	sort(p,p+n);
	sum -= p[n-1]/2;
	cout << sum;
}