dc = int(input()) data = sorted([int(num) for num in input().split(" ")]) i = len(data)//2 if dc % 2 == 0: print(f"{(sum(data[i-1:i+1])/2):.1f}") else: print(f"{data[i-1]:.1f}")