N = int(input()) A_list = list(map(int,input().split())) if N % 2 == 0: print(round((A_list[N//2]+A_list[N//2+1])/ N, 1)) else: print(A_list[N//2+1])