import numpy as np N = int(input()) A = list(map(int,input().split())) print(round(np.median(A),1))