package yukicoder; import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String line = sc.nextLine(); line = sc.nextLine(); String[] spl = line.split(" "); int exp[] = new int[spl.length]; int i = 0; for(String a : spl){ exp[i++] = Integer.parseInt(a); } int max = 0; for(int a : exp){ if(a > max){ max = a; } } boolean flg = true; int maxExp = 0; for(int a : exp){ if(a == max && flg){ flg = false; maxExp += a; }else{ maxExp += a/2; } } System.out.println(maxExp); } }