https://www.acmicpc.net/problem/1546
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner s= new Scanner(System.in);
int n=s.nextInt();
int sum=0;
int max=0;
for(int i=0;i<n;i++){
int a=s.nextInt();
if(a>=max) max=a;
sum+=a;
}
System.out.format("%f",(double)sum*100/max/n);
}
}