n = int(input()) p=list(map(int,input().split())) a = sum(p)/n ans = 0 for i in range(n): ans = 50 - (a-p[i])//2 print(int(ans))