https://www.acmicpc.net/problem/1546
using System;
class Program
{
static void Main() {
string s1=Console.ReadLine();
int n=int.Parse(s1);
string[] s=Console.ReadLine().Split(' ');
int sum=0;
int max=0;
for(int i=0;i<n;i++){
int a=int.Parse(s[i]);
if(a>=max) max=a;
sum+=a;
}
Console.Write("{0:F6}",(double)sum*100/max/n);
}
}