import java.io.PrintStream; import java.util.Arrays; import java.util.Collections; import java.util.Scanner; /** * Solution to Star Guardians * * @author vanb */ public class star_vanb { /** Input. */ private static Scanner sc; /** Output. */ private static PrintStream ps; /** * Do it! */ private void doit() { int n = sc.nextInt(); Double a[] = new Double[n]; for( int i=0; iaverage ) average = avg; } ps.println( average ); } /** * Main. * * @param args unused * @throws Exception */ public static void main( String[] args ) throws Exception { sc = new Scanner( System.in ); ps = System.out; new star_vanb().doit(); } }