import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
    
		// 整数の入力
		int n = sc.nextInt();
       ArrayList<Integer> vList= new ArrayList<>();
         
		for(int i = 0; i < n; i++) {
          vList.add(sc.nextInt());
        }
        Collections.sort(vList);
        
        double ans = (double)vList.get(0);
        for (int i = 1; i < n; i++) {
          double sum = ans + (double)vList.get(i);
          ans = sum / 2;
        }
    
		// 出力
		System.out.println(ans);
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
    
		// 整数の入力
		int n = sc.nextInt();
       ArrayList<Integer> vList= new ArrayList<>();
         
		for(int i = 0; i < n; i++) {
          vList.add(sc.nextInt());
        }
        Collections.sort(vList);
        
        double ans = (double)vList.get(0);
        for (int i = 1; i < n; i++) {
          double sum = ans + (double)vList.get(i);
          ans = sum / 2;
        }
    
		// 出力
		System.out.println(ans);
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
    
		// 整数の入力
		int n = sc.nextInt();
       ArrayList<Integer> vList= new ArrayList<>();
         
		for(int i = 0; i < n; i++) {
          vList.add(sc.nextInt());
        }
        Collections.sort(vList);
        
        double ans = (double)vList.get(0);
        for (int i = 1; i < n; i++) {
          double sum = ans + (double)vList.get(i);
          ans = sum / 2;
        }
    
		// 出力
		System.out.println(ans);
	} main {
		Scanner sc = new Scanner(System.in);
    
		// 整数の入力
		int n = sc.nextInt();
       ArrayList<Integer> vList= new ArrayList<>();
         
		for(int i = 0; i < n; i++) {
          vList.add(sc.nextInt());
        }
        Collections.sort(vList);
        
        double ans = (double)vList.get(0);
        for (int i = 1; i < n; i++) {
          double sum = ans + (double)vList.get(i);
          ans = sum / 2;
        }
    
		// 出力
		System.out.println(ans);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc ArrayList<Integer> vList= new ArrayList<>(); vList new ArrayList<>() for(int i = 0; i < n; i++) {
          vList.add(sc.nextInt());
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
          vList.add(sc.nextInt());
        } {
          vList.add(sc.nextInt());
        } vList.add(sc.nextInt()) vList.add vList sc.nextInt() sc.nextInt sc Collections.sort(vList) Collections.sort Collections vList double ans = (double)vList.get(0); ans (double)vList.get(0) vList.get vList 0 for (int i = 1; i < n; i++) {
          double sum = ans + (double)vList.get(i);
          ans = sum / 2;
        } int i = 1; int i = 1; i 1 i < n i n i++ i++ i {
          double sum = ans + (double)vList.get(i);
          ans = sum / 2;
        } {
          double sum = ans + (double)vList.get(i);
          ans = sum / 2;
        } double sum = ans + (double)vList.get(i); sum ans + (double)vList.get(i) ans (double)vList.get(i) vList.get vList i ans = sum / 2 ans sum / 2 sum 2 System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
    
		// 整数の入力
		int n = sc.nextInt();
       ArrayList<Integer> vList= new ArrayList<>();
         
		for(int i = 0; i < n; i++) {
          vList.add(sc.nextInt());
        }
        Collections.sort(vList);
        
        double ans = (double)vList.get(0);
        for (int i = 1; i < n; i++) {
          double sum = ans + (double)vList.get(i);
          ans = sum / 2;
        }
    
		// 出力
		System.out.println(ans);
	}
} public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
    
		// 整数の入力
		int n = sc.nextInt();
       ArrayList<Integer> vList= new ArrayList<>();
         
		for(int i = 0; i < n; i++) {
          vList.add(sc.nextInt());
        }
        Collections.sort(vList);
        
        double ans = (double)vList.get(0);
        for (int i = 1; i < n; i++) {
          double sum = ans + (double)vList.get(i);
          ans = sum / 2;
        }
    
		// 出力
		System.out.println(ans);
	}
} Main
import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
    
		// 整数の入力
		int n = sc.nextInt();
       ArrayList<Integer> vList= new ArrayList<>();
         
		for(int i = 0; i < n; i++) {
          vList.add(sc.nextInt());
        }
        Collections.sort(vList);
        
        double ans = (double)vList.get(0);
        for (int i = 1; i < n; i++) {
          double sum = ans + (double)vList.get(i);
          ans = sum / 2;
        }
    
		// 出力
		System.out.println(ans);
	}
}