#include #include #include using namespace std; int main() { int n; cin >> n; vector x(n); for (int &xi: x) cin >> xi; sort(x.begin(), x.end()); int ans = x.back(); x.pop_back(); for (int xi: x) ans += xi / 2; cout << ans << endl; return 0; }