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