def main(): N = int(input()) scores = [int(n) for n in input().split()] A = sum(scores) // N for x in range(N): D = 50 - ((A - scores[x]) // 2) print(D) if __name__ == '__main__': main()