#include <iostream>
#include <algorithm>
using namespace std;
const int N = 10010;
int a[N];
int n;
int main()
{
scanf("%d", &n);
for (int i = 0; i < n; i++) scanf("%d", &a[i]);
sort(a, a + n);
int res = a[0];
for (int i = 1; i < n; i++)
{
res = res + a[i] >> 1;
}
printf("%d", res);
return 0;
}