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

public class Main {

	public static void main(String args[])
	{
		Scanner scan=new Scanner(System.in);
		int n=scan.nextInt();
		int ar[]=new int[n];
		for(int i=0;i<n;i++)
		{
			ar[i]=scan.nextInt();
		}
		Arrays.parallelSort(ar);
		float ans=0;
		float lol[]=new float[n];
		lol[0]=ar[0];
		for(int i=1;i<n;i++)
		{
			lol[i]=(float) ((ar[i]+lol[i-1])/2);
		}
		
		System.out.printf("%.04f",lol[n-1]);
	}
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String args[])
	{
		Scanner scan=new Scanner(System.in);
		int n=scan.nextInt();
		int ar[]=new int[n];
		for(int i=0;i<n;i++)
		{
			ar[i]=scan.nextInt();
		}
		Arrays.parallelSort(ar);
		float ans=0;
		float lol[]=new float[n];
		lol[0]=ar[0];
		for(int i=1;i<n;i++)
		{
			lol[i]=(float) ((ar[i]+lol[i-1])/2);
		}
		
		System.out.printf("%.04f",lol[n-1]);
	}
} Main public static void main(String args[])
	{
		Scanner scan=new Scanner(System.in);
		int n=scan.nextInt();
		int ar[]=new int[n];
		for(int i=0;i<n;i++)
		{
			ar[i]=scan.nextInt();
		}
		Arrays.parallelSort(ar);
		float ans=0;
		float lol[]=new float[n];
		lol[0]=ar[0];
		for(int i=1;i<n;i++)
		{
			lol[i]=(float) ((ar[i]+lol[i-1])/2);
		}
		
		System.out.printf("%.04f",lol[n-1]);
	} main {
		Scanner scan=new Scanner(System.in);
		int n=scan.nextInt();
		int ar[]=new int[n];
		for(int i=0;i<n;i++)
		{
			ar[i]=scan.nextInt();
		}
		Arrays.parallelSort(ar);
		float ans=0;
		float lol[]=new float[n];
		lol[0]=ar[0];
		for(int i=1;i<n;i++)
		{
			lol[i]=(float) ((ar[i]+lol[i-1])/2);
		}
		
		System.out.printf("%.04f",lol[n-1]);
	} Scanner scan=new Scanner(System.in); scan new Scanner(System.in) int n=scan.nextInt(); n scan.nextInt() scan.nextInt scan int ar[]=new int[n]; ar new int[n] n for(int i=0;i<n;i++)
		{
			ar[i]=scan.nextInt();
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			ar[i]=scan.nextInt();
		} {
			ar[i]=scan.nextInt();
		} ar[i]=scan.nextInt() ar[i] ar i scan.nextInt() scan.nextInt scan Arrays.parallelSort(ar) Arrays.parallelSort Arrays ar float ans=0; ans 0 float lol[]=new float[n]; lol new float[n] n lol[0]=ar[0] lol[0] lol 0 ar[0] ar 0 for(int i=1;i<n;i++)
		{
			lol[i]=(float) ((ar[i]+lol[i-1])/2);
		} int i=1; int i=1; i 1 i<n i n i++ i++ i {
			lol[i]=(float) ((ar[i]+lol[i-1])/2);
		} {
			lol[i]=(float) ((ar[i]+lol[i-1])/2);
		} lol[i]=(float) ((ar[i]+lol[i-1])/2) lol[i] lol i (float) ((ar[i]+lol[i-1])/2) (ar[i]+lol[i-1]) ar[i] ar i lol[i-1] lol i-1 i 1 2 System.out.printf("%.04f",lol[n-1]) System.out.printf System.out System System.out "%.04f" lol[n-1] lol n-1 n 1 String args[] args public class Main {

	public static void main(String args[])
	{
		Scanner scan=new Scanner(System.in);
		int n=scan.nextInt();
		int ar[]=new int[n];
		for(int i=0;i<n;i++)
		{
			ar[i]=scan.nextInt();
		}
		Arrays.parallelSort(ar);
		float ans=0;
		float lol[]=new float[n];
		lol[0]=ar[0];
		for(int i=1;i<n;i++)
		{
			lol[i]=(float) ((ar[i]+lol[i-1])/2);
		}
		
		System.out.printf("%.04f",lol[n-1]);
	}
} public class Main {

	public static void main(String args[])
	{
		Scanner scan=new Scanner(System.in);
		int n=scan.nextInt();
		int ar[]=new int[n];
		for(int i=0;i<n;i++)
		{
			ar[i]=scan.nextInt();
		}
		Arrays.parallelSort(ar);
		float ans=0;
		float lol[]=new float[n];
		lol[0]=ar[0];
		for(int i=1;i<n;i++)
		{
			lol[i]=(float) ((ar[i]+lol[i-1])/2);
		}
		
		System.out.printf("%.04f",lol[n-1]);
	}
} Main

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

public class Main {

	public static void main(String args[])
	{
		Scanner scan=new Scanner(System.in);
		int n=scan.nextInt();
		int ar[]=new int[n];
		for(int i=0;i<n;i++)
		{
			ar[i]=scan.nextInt();
		}
		Arrays.parallelSort(ar);
		float ans=0;
		float lol[]=new float[n];
		lol[0]=ar[0];
		for(int i=1;i<n;i++)
		{
			lol[i]=(float) ((ar[i]+lol[i-1])/2);
		}
		
		System.out.printf("%.04f",lol[n-1]);
	}
}
