n = int(input()) x = [int(i) for i in input().split()] a = sum(x) / n for i in x: print(int(50 - (a - i) // 2))