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