n=int(input()) arr=[] arr=list(map(int,input().split())) arr.sort() highscore = max(arr) sumscore=0 for i in range(0,len(arr)-1): sumscore += arr[i]/highscore*100 print((sumscore+highscore)/len(arr))