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