N = int(input()) x = list(map(int,input().split())) S = sum(x) for i in x: ans = 50 - (S / N - i) / 2 print(int(ans))