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