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