import numpy N = int(input()) x = numpy.array([a for a in map(int, input().split())]) ave = numpy.mean(x) for i in x: print(int(50 - (ave - i) / 2))