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