N = int(input()) X = list(map(int, input().split())) sumX = sum(X) for x in X: ans = (100 + x)*N - sumX ans //= 2*N print(ans)