n = int(input()) x = list(map(int,input().split())) sx = sum(x) ls = [] for i in range(101): ls.append(int(50-(sx-i*n)/n/2)) for i in x: print(ls[i])