import java.util.Arrays;
import java.util.Scanner;

public class Main {
    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        int paramN = Integer.parseInt(scanner.nextLine());
        String[] paramsV = scanner.nextLine().split(" ");
        scanner.close();
        
        int[] values = new int[paramsV.length];

        for (int i = 0; i < paramsV.length; i++) {
            values[i] = Integer.parseInt(paramsV[i]);
        }

        Arrays.sort(values);

        double currentValue = values[0];

        for (int i = 0; i < values.length - 1; i++) {
            currentValue = (currentValue + (double)values[i + 1]) / (double)2;
        }

        System.out.println(currentValue);
    }
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        int paramN = Integer.parseInt(scanner.nextLine());
        String[] paramsV = scanner.nextLine().split(" ");
        scanner.close();
        
        int[] values = new int[paramsV.length];

        for (int i = 0; i < paramsV.length; i++) {
            values[i] = Integer.parseInt(paramsV[i]);
        }

        Arrays.sort(values);

        double currentValue = values[0];

        for (int i = 0; i < values.length - 1; i++) {
            currentValue = (currentValue + (double)values[i + 1]) / (double)2;
        }

        System.out.println(currentValue);
    }
} Main public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        int paramN = Integer.parseInt(scanner.nextLine());
        String[] paramsV = scanner.nextLine().split(" ");
        scanner.close();
        
        int[] values = new int[paramsV.length];

        for (int i = 0; i < paramsV.length; i++) {
            values[i] = Integer.parseInt(paramsV[i]);
        }

        Arrays.sort(values);

        double currentValue = values[0];

        for (int i = 0; i < values.length - 1; i++) {
            currentValue = (currentValue + (double)values[i + 1]) / (double)2;
        }

        System.out.println(currentValue);
    } main {
        Scanner scanner = new Scanner(System.in);
        int paramN = Integer.parseInt(scanner.nextLine());
        String[] paramsV = scanner.nextLine().split(" ");
        scanner.close();
        
        int[] values = new int[paramsV.length];

        for (int i = 0; i < paramsV.length; i++) {
            values[i] = Integer.parseInt(paramsV[i]);
        }

        Arrays.sort(values);

        double currentValue = values[0];

        for (int i = 0; i < values.length - 1; i++) {
            currentValue = (currentValue + (double)values[i + 1]) / (double)2;
        }

        System.out.println(currentValue);
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int paramN = Integer.parseInt(scanner.nextLine()); paramN Integer.parseInt(scanner.nextLine()) Integer.parseInt Integer scanner.nextLine() scanner.nextLine scanner String[] paramsV = scanner.nextLine().split(" "); paramsV scanner.nextLine().split(" ") scanner.nextLine().split scanner.nextLine() scanner.nextLine scanner " " scanner.close() scanner.close scanner int[] values = new int[paramsV.length]; values new int[paramsV.length] paramsV.length paramsV paramsV.length for (int i = 0; i < paramsV.length; i++) {
            values[i] = Integer.parseInt(paramsV[i]);
        } int i = 0; int i = 0; i 0 i < paramsV.length i paramsV.length paramsV paramsV.length i++ i++ i {
            values[i] = Integer.parseInt(paramsV[i]);
        } {
            values[i] = Integer.parseInt(paramsV[i]);
        } values[i] = Integer.parseInt(paramsV[i]) values[i] values i Integer.parseInt(paramsV[i]) Integer.parseInt Integer paramsV[i] paramsV i Arrays.sort(values) Arrays.sort Arrays values double currentValue = values[0]; currentValue values[0] values 0 for (int i = 0; i < values.length - 1; i++) {
            currentValue = (currentValue + (double)values[i + 1]) / (double)2;
        } int i = 0; int i = 0; i 0 i < values.length - 1 i values.length - 1 values.length values values.length 1 i++ i++ i {
            currentValue = (currentValue + (double)values[i + 1]) / (double)2;
        } {
            currentValue = (currentValue + (double)values[i + 1]) / (double)2;
        } currentValue = (currentValue + (double)values[i + 1]) / (double)2 currentValue (currentValue + (double)values[i + 1]) / (double)2 (currentValue + (double)values[i + 1]) currentValue (double)values[i + 1] values i + 1 i 1 (double)2 System.out.println(currentValue) System.out.println System.out System System.out currentValue String[] args args public class Main {
    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        int paramN = Integer.parseInt(scanner.nextLine());
        String[] paramsV = scanner.nextLine().split(" ");
        scanner.close();
        
        int[] values = new int[paramsV.length];

        for (int i = 0; i < paramsV.length; i++) {
            values[i] = Integer.parseInt(paramsV[i]);
        }

        Arrays.sort(values);

        double currentValue = values[0];

        for (int i = 0; i < values.length - 1; i++) {
            currentValue = (currentValue + (double)values[i + 1]) / (double)2;
        }

        System.out.println(currentValue);
    }
} public class Main {
    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        int paramN = Integer.parseInt(scanner.nextLine());
        String[] paramsV = scanner.nextLine().split(" ");
        scanner.close();
        
        int[] values = new int[paramsV.length];

        for (int i = 0; i < paramsV.length; i++) {
            values[i] = Integer.parseInt(paramsV[i]);
        }

        Arrays.sort(values);

        double currentValue = values[0];

        for (int i = 0; i < values.length - 1; i++) {
            currentValue = (currentValue + (double)values[i + 1]) / (double)2;
        }

        System.out.println(currentValue);
    }
} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {
    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        int paramN = Integer.parseInt(scanner.nextLine());
        String[] paramsV = scanner.nextLine().split(" ");
        scanner.close();
        
        int[] values = new int[paramsV.length];

        for (int i = 0; i < paramsV.length; i++) {
            values[i] = Integer.parseInt(paramsV[i]);
        }

        Arrays.sort(values);

        double currentValue = values[0];

        for (int i = 0; i < values.length - 1; i++) {
            currentValue = (currentValue + (double)values[i + 1]) / (double)2;
        }

        System.out.println(currentValue);
    }
}