#median N=int(input()) A=[int(i) for i in input().split()] A.sort() if N%2!=0: print(A[N//2]) else: N//=2 N=A[N]+A[N-1] N=float(N) N/=2 print(N)