import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.PriorityQueue; import java.util.Scanner; public class Main { public static long MOD = 1000000007; public static void main(String[] args) { Scanner sc = new Scanner(System.in); final int N = sc.nextInt(); int[] array = new int[N]; for(int i = 0; i < N; i++){ array[i] = -sc.nextInt(); } Arrays.sort(array); for(int i = 0; i < N; i++){ array[i] = -array[i]; } int answer = array[0]; for(int i = 1; i < N; i++){ answer += array[i] / 2; } System.out.println(answer); } }