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