import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int sum = 0; for (int i = 0; i < n - 1; i++) { sum += sc.nextInt(); } int ans; if (sum % n == 0) { ans = 100 / n + 1; } else { ans = 100 / n; } System.out.println(ans); } }