import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int N = scan.nextInt(); int[]x = new int[N]; for(int i = 0; i < N; i++) { x[i] = scan.nextInt(); } scan.close(); Arrays.sort(x); int sum = x[N - 1]; for(int i = 0; i < N - 1; i++) { sum += x[i] / 2; } System.out.println(sum); } }