728x90
#include<iostream>
#include<vector>
#include<cstring>
#include<algorithm>
#include<set>
using namespace std;
int main() {
int n;
cin >> n;
vector<double>v(n);
for (int i = 0; i < n; i++) {
cin >> v[i];
}
sort(v.begin(), v.end());
double total = 0;
for (int i = 0; i < n - 1; i++) {
total += v[i] / 2;
}
total += v[n - 1];
cout << total<<endl;
}