#include using namespace std; using ll = long long; #define FOR(i,a,b) for(ll i=(a);i<(b);++i) #define ALL(v) (v).begin(), (v).end() #define p(s) cout<<(s)<> N; vector A(N); FOR(i, 0, N){ cin >> A.at(i); } sort(ALL(A)); ll a = A.back(); FOR(i, 0, N-1){ a += A[i]/2; } p(a); return 0; }