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