import sys readline=sys.stdin.readline N=int(readline()) X=list(map(int,readline().split())) S=sum(X) for x in X: ans=100*N-S+N*x ans//=2*N print(ans)